HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package4.20.2.0Prelude

base

Core data structures and operations

Modules

237 modules
Internal modules · 53
  • GHC.Arr52GHC's array implementation. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.Base1630Basic data types and classes.
  • GHC.Bits6This module defines bitwise operations for signed and unsigned
  • GHC.Conc63Basic concurrency stuff. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.Conc.IO10Basic concurrency stuff. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.Conc.Sync56Basic concurrency stuff.
  • GHC.Desugar3Support code for desugaring in GHC The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.Enum8The Enum and Bounded classes.
  • GHC.Err4The GHC.Err module defines the code for the wired-in error functions,
  • GHC.Exception20Exceptions and exception-handling functions. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.Exception.Type7Exceptions and exception-handling functions.
  • GHC.ExecutionStack.Internal8Internals of the GHC.ExecutionStack module. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.Float130The types Float and Double, the classes Floating and RealFloat and
  • GHC.Float.ConversionUtils2Utilities for conversion between Double/Float and Rational
  • GHC.Float.RealFracMethods22Methods for the RealFrac instances for Float and Double,
  • GHC.ForeignPtr23GHC's implementation of the ForeignPtr data type.
  • GHC.GHCi2The GHCi Monad lifting interface. EXPERIMENTAL! DON'T USE. The API of this module is unstable and not meant to be consumed by the general…
  • GHC.IO31Definitions for the IO monad and its friends. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.IO.Encoding.Iconv3This module provides text encoding/decoding using iconv
  • GHC.IO.Exception30IO-related Exception types and functions The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.IO.FD12Raw read/write operations on file descriptors
  • GHC.IO.Handle.Internals45This module defines the basic operations on I/O "handles". All
  • GHC.IO.Handle.Text15String I/O functions The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.IO.Handle.Types24Basic types for the implementation of IO Handles. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.IO.IOMode1The IOMode type
  • GHC.IO.Unsafe5Unsafe IO operations
  • GHC.IOArray7The IOArray type
  • GHC.IORef11The IORef type
  • GHC.Int40The sized integral datatypes, Int8, Int16, Int32, and Int64.
  • GHC.Integer43Compatibility module for pre-ghc-bignum code.
  • GHC.Ix2GHC's Ix typeclass implementation.
  • GHC.MVar11The MVar type
  • GHC.Maybe1The Maybe type.
  • GHC.Natural32Compatibility module for pre ghc-bignum code.
  • GHC.Num186The Num class and the Integer type.
  • GHC.Pack6⚠ Warning: Starting base-4.18, this module is being deprecated.
  • GHC.Ptr11The Ptr and FunPtr types and operations.
  • GHC.Read19The Read class and instances for basic data types.
  • GHC.Real43The types Ratio and Rational, and the classes Real, Fractional,
  • GHC.ST7The ST Monad.
  • GHC.STRef4References in the ST monad.
  • GHC.Show18The Show class, and related operations.
  • GHC.Stable6Stable pointers.
  • GHC.Stack.Types8Type definitions for implicit call-stacks.
  • GHC.Storable32Helper functions for Foreign.Storable
  • GHC.TopHandler9Support for catching exceptions raised during top-level computations
  • GHC.TypeError5This module exports: The TypeError type family, which is used to provide custom type
  • GHC.TypeLits.Internal3Do not use this module. Use GHC.TypeLits instead. This module is internal-only and was exposed by accident. It may be
  • GHC.TypeNats.Internal2
  • GHC.Unicode24Implementations for the character predicates (isLower, isUpper, etc.)
  • GHC.Weak7Weak pointers.
  • GHC.Word44Sized unsigned integral types: Word, Word8, Word16, Word32, and
  • System.Posix.Internals126POSIX support layer for the standard libraries. The API of this module is unstable and not meant to be consumed by the general public.

Description

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.

Depends on

2 packages

Used by in this set · 1063