Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data VersionCheck Source #
Instances
Eq VersionCheck Source # | |
Defined in GHC.Check (==) :: VersionCheck -> VersionCheck -> Bool # (/=) :: VersionCheck -> VersionCheck -> Bool # | |
Show VersionCheck Source # | |
Defined in GHC.Check 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