Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- guessLibdir :: IO FilePath
- getPackageVersion :: String -> Ghc (Maybe Version)
- getGhcVersion :: Ghc (Maybe Version)
- getPackageVersionIO :: FilePath -> String -> IO Version
- compileTimeVersion :: IO FilePath -> String -> TExpQ Version
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