packages feed

ghc-check 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+3/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ghc-check.cabal view
@@ -1,7 +1,7 @@ cabal-version:       2.4  name:                ghc-check-version:             0.1.0.0+version:             0.1.0.1 synopsis:            detect mismatches between compile-time and run-time versions of the ghc api description:         detect mismatches between compile-time and run-time versions of the ghc api bug-reports:         https://github.com/pepeiborra/ghc-check/issues
src/GHC/Check.hs view
@@ -8,9 +8,11 @@ import Data.Version (Version) import GHC.Exts (toList, IsList(fromList)) +-- | Returns the compile-time version of the 'ghc' package compileTimeVersion :: Version compileTimeVersion = fromList $(lift =<< toList <$> runIO getGHCVersionIO) +-- | Returns the run-time version of the 'ghc' package by looking up in the package database runTimeVersion :: Ghc (Maybe Version) runTimeVersion = getGHCVersion