ghc-check-0.1.0.3: Detect mismatches between compile-time and run-time versions of the ghc api

Safe HaskellNone
LanguageHaskell2010

GHC.Check

Synopsis

Documentation

data VersionCheck Source #

Constructors

Match 
Mismatch 
Instances
Eq VersionCheck Source # 
Instance details

Defined in GHC.Check

Show VersionCheck Source # 
Instance details

Defined in GHC.Check

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

compileTimeVersionFromLibdir :: IO FilePath -> TExpQ Version Source #

Returns the compile-time version of the ghc package given the GHC libdir

runTimeVersion :: Ghc (Maybe Version) Source #

Returns the run-time version of the ghc package by looking up in the package database