Difference between revisions of "Base package"

From HaskellWiki
Jump to: navigation, search
(Adding Arrow)
Line 1: Line 1:
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.
+
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:
 
This package includes the following:
   
[[Arrays]]
+
*[[Arrays]]
   
[[Arrow]]
+
*[[Arrow]]s
   
[[Functor]]
+
*[[Functor]]s
   
[[Maybe]]
+
*[[Maybe]]
   
[[Monad]]
+
*[[Monad]]s
  +
  +
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.
  +
  +
{|
  +
|-
  +
! 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.10.1 (TBA)
  +
| 4.7.1.0
  +
|}
  +
  +
See also the [https://hackage.haskell.org/package/base hackage page for the base package].
   
 
[[Category:Standard packages]]
 
[[Category:Standard packages]]

Revision as of 02:40, 26 August 2014

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.

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.10.1 (TBA) 4.7.1.0

See also the hackage page for the base package.