primitive-unlifted-2.1.0.0: Primitive GHC types with unlifted types inside
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Primitive.Unlifted.SmallArray.Primops

Description

Primitive types representing unlifted arrays and the primops for manipulating them.

Synopsis

Types

Operations

unsafeNewSmallUnliftedArray# :: Int# -> State# s -> (# State# s, SmallMutableUnliftedArray# s a #) Source #

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.

emptySmallUnliftedArray# :: (# #) -> SmallUnliftedArray# a Source #

Warning: Applying unsafeThawUnliftedArray# to the array produced by this function will make demons come out of your nose.