Moduleprimitive-unlifted-2.2.0.0Haskell2010
Data.Primitive.Unlifted.SmallArray.Primops
Primitive types representing unlifted arrays and the primops for manipulating them.
Contents
Synopsis
- newtype SmallUnliftedArray#
- newtype SmallMutableUnliftedArray#
- value newSmallUnliftedArray#
- value unsafeNewSmallUnliftedArray#
- value emptySmallUnliftedArray#
- value sameSmallMutableUnliftedArray#
- value shrinkSmallMutableUnliftedArray#
- value readSmallUnliftedArray#
- value writeSmallUnliftedArray#
- value sizeofSmallUnliftedArray#
- value getSizeofSmallMutableUnliftedArray#
- value indexSmallUnliftedArray#
- value unsafeFreezeSmallUnliftedArray#
- value unsafeThawSmallUnliftedArray#
- value copySmallUnliftedArray#
- value copySmallMutableUnliftedArray#
- value cloneSmallUnliftedArray#
- value cloneSmallMutableUnliftedArray#
- value freezeSmallUnliftedArray#
- value thawSmallUnliftedArray#
- value casSmallUnliftedArray#
- Packageprimitive-unlifted-2.2.0.0
- Exports21
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourcePrimops.hs
Types
Constructors
Operations
Create a SmallMutableUnliftedArray# whose entries contain some unspecified
static value. This may be more convenient than newUnliftedArray# if there
is no value on hand with which to initialize the array. Each entry must be
initialized before being read and used. This condition is not checked.
Warning: Applying unsafeThawUnliftedArray# to the array produced by
this function will make demons come out of your nose.