PrimitiveArray-0.0.3.1: Unboxed, multidimensional arrays based on the primitive package.

Data.PrimitiveArray.Internal

Description

Helper functions for creating new arrays.

Synopsis

Documentation

newWith :: Prim a => Int -> a -> ST s (MutableByteArray s)Source

Create a new m-array with a default value.

new :: Prim a => Int -> a -> ST s (MutableByteArray s)Source

In new, z is not used.