Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
primitive-unlifted Data.Primitive.Unlifted.SmallArray No documentation available.
type
SmallUnliftedArray a = SmallUnliftedArray_ Unlifted a aprimitive-unlifted Data.Primitive.Unlifted.SmallArray A type synonym for a SmallUnliftedArray_ containing lifted values of a particular type. As a general rule, this type synonym should not be used in class instances—use SmallUnliftedArray_ with an equality constraint instead. It also should not be used when defining newtypes or datatypes, unless those will have restrictive type roles regardless—use SmallUnliftedArray_ instead.
data
SmallUnliftedArray_ (unlifted_a :: UnliftedType) aprimitive-unlifted Data.Primitive.Unlifted.SmallArray A SmallUnliftedArray_ a unlifted_a represents an array of values of a lifted type a that wrap values of an unlifted type unlifted_a. It is expected that unlifted_a ~ Unlifted a, but imposing that constraint here would force the type roles to nominal, which is often undesirable when arrays are used as components of larger datatypes.
-
primitive-unlifted Data.Primitive.Unlifted.SmallArray Creates a new MutableUnliftedArray containing a copy of a portion of another mutable array.
cloneSmallUnliftedArray :: SmallUnliftedArray a -> Int -> Int -> SmallUnliftedArray aprimitive-unlifted Data.Primitive.Unlifted.SmallArray Creates a copy of a portion of a SmallUnliftedArray
-
primitive-unlifted Data.Primitive.Unlifted.SmallArray Copies the contents of one mutable array into another.
-
primitive-unlifted Data.Primitive.Unlifted.SmallArray Copies the contents of an immutable array into a mutable array.
-
primitive-unlifted Data.Primitive.Unlifted.SmallArray Execute a stateful computation and freeze the resulting array. It is possible, but unlikely, that the computation will be run multiple times in multiple threads.
emptySmallUnliftedArray :: forall (unlifted_a :: UnliftedType) a . SmallUnliftedArray_ unlifted_a aprimitive-unlifted Data.Primitive.Unlifted.SmallArray No documentation available.
foldlSmallUnliftedArray :: PrimUnlifted a => (b -> a -> b) -> b -> SmallUnliftedArray a -> bprimitive-unlifted Data.Primitive.Unlifted.SmallArray Lazy left-associated fold over the elements of an SmallUnliftedArray.