base

Core data structures and operations

Version on this page:4.20.0.0
LTS Haskell 23.3:4.19.2.0
Stackage Nightly 2025-01-08:4.20.0.0
Latest on Hackage:4.21.0.0

See all snapshots base appears in

BSD-3-Clause licensed
This version can be pinned in stack with:base-4.20.0.0@sha256:6b1ae61e45db82289a287b0bb1fc689c3b418d97bffe8e226df23d60e7967405,9234

Module documentation for 4.20.0.0

Haskell's base library provides, among other things, core types (e.g. Data.Bool and Data.Int), data structures (e.g. Data.List, Data.Tuple and Data.Maybe), the Control.Exception mechanism, and the System.IO & Control.Concurrent operations. The Prelude module, which is imported by default, exposes a curated set of types and functions from other modules.

Other data structures like Map, Set are available in the containers library. To work with textual data, use the text library.