HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Moduleunlifted-0.2.4.0Haskell2010

Data.Unlifted

Contents
  1. Base
  2. Lifting Unlifted Data
  3. Integral Types
  4. Text
  5. Arrays
  6. Boolean
Synopsis
  • Packageunlifted-0.2.4.0
  • Exports14
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceUnlifted.hs

Base

newtypenewtype ST# a (b :: TYPE r) where

Variant of ST where the argument type does not have to be lifted. This does not have a monad instance and is difficult to use.

Constructors

Lifting Unlifted Data

Integral Types

Text

newtypenewtype Text# where

Unboxed variant of Text. This includes a somewhat dubious restriction that on the offset and length that prevents byte arrays larger than 2GiB from being used as the backing store.

This decision makes the type work well in the vext library, and it makes the in-memory format close to what Apache Arrow uses.

Constructors

Arrays

newtypenewtype PrimArray# (a :: TYPE r) where

This resembles the PrimArray type from primitive, but the phantom parameter is an unboxed type, not a lifted type. For example:

  • PrimArray Word8
  • PrimArray# Word8#

Constructors

Boolean