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

Moduleunlifted-0.2.2.0Haskell2010

Data.Unlifted

  • 8 types
  • Packageunlifted-0.2.2.0
  • Exports10
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceUnlifted.hs

Base

3 declarations
newtypenewtype Maybe# (a :: TYPE r) where
#

Unboxed variant of Maybe.

Constructors

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

Text

2 declarations
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

2 declarations
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

3 declarations