HORIZON HASKELLDocslts/ghc-10.0.x04404a62026-10-19Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 04404a6 · 2026-10-19

Package4.23.0.0Prelude

base

Core data structures and operations

Modules

Internal modules · 50
  • GHC.ArrGHC's array implementation. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.BaseBasic data types and classes.
  • GHC.BitsThis module defines bitwise operations for signed and unsigned
  • GHC.ConcBasic concurrency stuff. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.Conc.IOBasic concurrency stuff. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.Conc.SyncBasic concurrency stuff.
  • GHC.EnumThe Enum and Bounded classes.
  • GHC.ErrThe GHC.Err module defines the code for the wired-in error functions,
  • GHC.ExceptionExceptions and exception-handling functions. The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.Exception.TypeExceptions and exception-handling functions.
  • GHC.ExtsGHC Extensions: this is the Approved Way to get at GHC-specific extensions. Note: no other base module should import this module.
  • GHC.FloatThe types Float and Double, the classes Floating and RealFloat and
  • GHC.Float.ConversionUtilsUtilities for conversion between Double/Float and Rational
  • GHC.Float.RealFracMethodsMethods for the RealFrac instances for Float and Double,
  • GHC.ForeignPtrGHC's implementation of the ForeignPtr data type.
  • GHC.GHCiThe 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.IODefinitions 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.IconvThis module provides text encoding/decoding using iconv
  • GHC.IO.ExceptionIO-related Exception types and functions The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.IO.FDRaw read/write operations on file descriptors
  • GHC.IO.Handle.InternalsThis module defines the basic operations on I/O "handles". All
  • GHC.IO.Handle.TextString I/O functions The API of this module is unstable and not meant to be consumed by the general public.
  • GHC.IO.Handle.TypesBasic 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.IOModeThe IOMode type
  • GHC.IO.UnsafeUnsafe IO operations
  • GHC.IOArrayThe IOArray type
  • GHC.IORefThe IORef type
  • GHC.IntThe sized integral datatypes, Int8, Int16, Int32, and Int64.
  • GHC.IntegerCompatibility module for pre-ghc-bignum code.
  • GHC.IxGHC's Ix typeclass implementation.
  • GHC.JS.Prim.Internal
  • GHC.MVarThe MVar type
  • GHC.MaybeThe Maybe type.
  • GHC.NaturalCompatibility module for pre ghc-bignum code.
  • GHC.NumThe Num class and the Integer type.
  • GHC.PtrThe Ptr and FunPtr types and operations.
  • GHC.ReadThe Read class and instances for basic data types.
  • GHC.RealThe types Ratio and Rational, and the classes Real, Fractional,
  • GHC.STThe ST Monad.
  • GHC.STRefReferences in the ST monad.
  • GHC.ShowThe Show class, and related operations.
  • GHC.StableStable pointers.
  • GHC.Stack.TypesType definitions for implicit call-stacks.
  • GHC.StorableHelper functions for Foreign.Storable
  • GHC.TopHandlerSupport for catching exceptions raised during top-level computations
  • GHC.TypeErrorThis module exports: The TypeError type family, which is used to provide custom type
  • GHC.UnicodeImplementations for the character predicates (isLower, isUpper, etc.)
  • GHC.WeakWeak pointers.
  • GHC.WordSized unsigned integral types: Word, Word8, Word16, Word32, and
  • System.Posix.InternalsPOSIX 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

1 package

Used by in this set · 116