ghc: The GHC API

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

GHC's functionality can be useful for more things than just compiling Haskell programs. Important use cases are programs that analyse (and perhaps transform) Haskell code. Others include loading Haskell code dynamically in a GHCi-like manner. For this reason, a lot of GHC's functionality is made available through this package.


Versions 8.2.1, 8.2.2, 8.4.1, 8.4.3, 8.4.4, 8.6.1, 8.6.4, 8.6.4, 8.6.5, 8.8.1, 8.8.3, 8.10.1, 8.10.2, 9.2.1
Change log None available
Dependencies array (>=0.1 && <0.6), base (>1 && <1), binary (==0.8.*), bytestring (>=0.9 && <0.11), containers (>=0.5 && <0.7), deepseq (==1.4.*), directory (>=1 && <1.4), filepath (>=1 && <1.5), ghc-boot (==8.6.4), ghc-boot-th (==8.6.4), ghc-heap (==8.6.4), ghci (==8.6.4), hpc (==0.6.*), process (>=1 && <1.7), template-haskell (==2.14.*), terminfo (==0.4.*), time (>=1.4 && <1.9), transformers (==0.5.*), unix (==2.7.*), Win32 (>=2.3 && <2.7) [details]
License BSD-3-Clause
Author The GHC Team
Category Development
Home page
Bug tracker
Source repo head: git clone
Uploaded by HerbertValerioRiedel at 2019-04-14T22:12:08Z


Manual Flags


Build GHC with terminfo support on non-Windows platforms.


Make this package buildable (experimental tech preview).

See reinstallable lib:ghc announcement for more information.

Automatic Flags

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees