Base package

From HaskellWiki

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[edit]

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.

A more reliable source for this information is https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history. The below is retained because it goes back further in history.

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 (Apr 2015) 4.8.0.0
7.10.2 (Jul 2015) 4.8.1.0
7.10.3 (Dec 2015) 4.8.2.0
8.0.1 (May 2016) 4.9.0.0
8.0.2 (Jan 2017) 4.9.1.0
8.2.1 (Jul 2017) 4.10.0.0
8.2.2 (Nov 2017) 4.10.1.0
8.4.1 (Mar 2018) 4.11.0.0
8.4.2 (Apr 2018) 4.11.1.0
8.6.1 (Sep 2018) 4.12.0.0
8.8.1 (Jul 2019) 4.13.0.0
8.10.1 (Mar 2020) 4.14.0.0
8.10.2 (Aug 2020) 4.14.1.0
8.10.7 (Aug 2021) 4.14.3.0
9.0.1 (Feb 2021) 4.15.0.0
9.0.2 (Dec 2021) 4.15.1.0
9.2.1 (Oct 2021) 4.16.0.0
9.2.2 (Mar 2022) 4.16.1.0
9.2.5 (Nov 2022) 4.16.4.0
9.4.1 (Aug 2022) 4.17.0.0
9.6.1 (Mar 2023) 4.18.0.0
9.8.1 (Oct 2023) 4.19.0.0

See also: