| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
GHC.Check
Synopsis
Documentation
data VersionCheck Source #
Instances
| Eq VersionCheck Source # | |
Defined in GHC.Check | |
| Show VersionCheck Source # | |
Defined in GHC.Check Methods showsPrec :: Int -> VersionCheck -> ShowS # show :: VersionCheck -> String # showList :: [VersionCheck] -> ShowS # | |
checkGhcVersion :: Ghc VersionCheck Source #
Returns True if the run-time version of the ghc package matches the compile-time version
For using your own GHC libdir at compile time, inline this logic in your program
compileTimeVersion :: Version Source #
Returns the compile-time version of the ghc package.
Uses guessLibdir to find the GHC lib dir