Shared functionality between GHC and its boot libraries

Version on this page:8.6.4
LTS Haskell 16.11:8.8.3
Stackage Nightly 2023-12-07:9.6.3
Latest on Hackage:9.8.1

See all snapshots ghc-boot appears in

BSD-3-Clause licensed
Maintained by
This version can be pinned in stack with:ghc-boot-8.6.4@sha256:8540c2da89d33b757d9738be08ad8dac1a4a2ee76b5780b4ac378a8a367bf9f1,1772

Module documentation for 8.6.4

  • GHC
    • GHC.ForeignSrcLang
    • GHC.HandleEncoding
    • GHC.LanguageExtensions
    • GHC.PackageDb
    • GHC.Serialized

This library is shared between GHC, ghc-pkg, and other boot libraries.

A note about GHC.PackageDb: it only deals with the subset of the package database that the compiler cares about: modules paths etc and not package metadata like description, authors etc. It is thus not a library interface to ghc-pkg and is not suitable for modifying GHC package databases.

The package database format and this library are constructed in such a way that while ghc-pkg depends on Cabal, the GHC library and program do not have to depend on Cabal.


8.6.1 August 2018

  • Bundled with GHC 8.6.1

8.4.2 April 2018

  • Bundled with GHC 8.4.2

8.4.1 March 2018

  • Bundled with GHC 8.4.1

8.2.2 November 2018

  • Bundled with GHC 8.2.2

8.2.1 July 2017

  • Bundled with GHC 8.2.1

8.0.2 January 2017

  • Bundled with GHC 8.0.2

8.0.1 May 2016

  • Bundled with GHC 8.0.1

  • Initial version