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

Safe HaskellNone
LanguageHaskell2010

GHC.Check

Synopsis

Documentation

checkGhcVersion :: Ghc Bool Source #

Returns True if the run-time version of the ghc package matches the compile-time version

compileTimeVersion :: Version Source #

Returns the compile-time version of the ghc package

runTimeVersion :: Ghc (Maybe Version) Source #

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