ghc-check-0.2.0.0: detect mismatches between compile-time and run-time versions of the ghc api

Safe HaskellNone
LanguageHaskell2010

GHC.Check.Internal

Synopsis

Documentation

guessLibdir :: IO FilePath Source #

Look up the GHC lib dir in the NIX environment, then in the Paths

getPackageVersion :: String -> Ghc (Maybe Version) Source #

getPackageVersion p returns the version of package p in the package database

getGhcVersion :: Ghc (Maybe Version) Source #

Returns the version of the ghc package in the environment package database

getPackageVersionIO :: FilePath -> String -> IO Version Source #

getPackageVersionIO ghc-libdir p returns the version of package p in the default package database

compileTimeVersion :: IO FilePath -> String -> TExpQ Version Source #

compileTimeVersion get-libdir p returns the version of package p in the compile-time package database.