Base package

From HaskellWiki
Revision as of 13:20, 14 June 2016 by Bergey (talk | contribs) (Add entry for GHC-8.0.1)
Jump to navigation Jump to search

The base package contains the Prelude and its support libraries, and a large collection of useful libraries ranging from data structures to parsing combinators and debugging utilities. It is specific to the GHC implementation of Haskell.

This package includes the following:

and many others.

Versions

The base package is shipped alongside the GHC compiler itself, but version numbers for the base package do not match the GHC version number. Here is a table indicating which base package versions ship with which GHC. Data is taken from GHC release notes, and, since base 4.7.0.0, the changelog.md file in the base package's source code. Only GHC versions in which the base package's version number was bumped are listed here. (Last updated Aug 2014.)

On the GHC Trac wiki, one can find a more comprehensive table of versions that includes all boot libraries.

GHC version base version
6.10.1 (Nov 2008) 4.0.0.0
6.10.2 (Apr 2009) 4.1.0.0
6.12.1 (Dec 2009) 4.2.0.0
6.12.2 (Apr 2010) 4.2.0.1
6.12.3 (Jun 2010) 4.2.0.2
7.0.1 (Nov 2010) 4.3.0.0
7.0.2 (Mar 2011) 4.3.1.0
7.2.1 (Aug 2011) 4.4.0.0
7.2.2 (Nov 2011) 4.4.1.0
7.4.1 (Feb 2012) 4.5.0.0
7.4.2 (Jun 2012) 4.5.1.0
7.6.1 (Sep 2012) 4.6.0.0
7.6.2 (Jan 2013) 4.6.0.1
7.8.1 (Apr 2014) 4.7.0.0
7.8.3 (Jul 2014) 4.7.0.1
7.8.4 (Dec 2014) 4.7.0.2
7.10.1 (Mar 2015) 4.8.0.0
8.0.1 (May 2016) 4.9.0.0

See also the hackage page for the base package.