Moduleunlifted-0.2.4.0Haskell2010
Data.Unlifted
Synopsis
- newtype Maybe#
- newtype Either#
- newtype ST#
- newtype IO#
- class Show#
- data Lifted
- newtype Word128#
- newtype ShortText#
- newtype Text#
- newtype PrimArray#
- newtype MutablePrimArray#
- newtype Bool#
- pattern True#
- pattern False#
- Packageunlifted-0.2.4.0
- Exports14
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceUnlifted.hs
Base
Methods
showsPrec# :: Int -> a -> ShowSshow# :: a -> String
Lifting Unlifted Data
Integral Types
Text
Unlifted variant of ShortText.
Constructors
ShortText# :: ByteArray# -> ShortText#
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
Text# :: (# ByteArray#, Int32#, Int32# #) -> Text#
Arrays
This resembles the PrimArray type from primitive, but the phantom
parameter is an unboxed type, not a lifted type. For example:
PrimArray Word8PrimArray# Word8#
Constructors
PrimArray# :: ByteArray# -> PrimArray# a
Mutable variant of PrimArray#.
Constructors
MutablePrimArray# :: MutableByteArray# a -> MutablePrimArray# a b