Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getCorePackages :: IO (Map PackageName Version)
- getCoreExecutables :: IO (Set ExeName)
- getGhcVersion :: IO Version
Documentation
getCorePackages :: IO (Map PackageName Version) Source
Get a Map
of all of the core packages. Core packages are defined as
packages which ship with GHC itself.
Precondition: GHC global package database has only core packages, and GHC ships with just a single version of each packages.
getCoreExecutables :: IO (Set ExeName) Source
A list of executables that are shipped with GHC.