smallarray-0.2.2: low-level unboxed arrays, with minimal features.

Data.SmallArray.Unsafe

Synopsis

Documentation

unsafeNew :: Elt e => Int -> ST s (MArray s e)Source

Create a new array. The contents are not initialized in any way, and may be invalid.

unsafeCopy :: Elt e => MArray s e -> Int -> MArray s e -> Int -> Int -> ST s ()Source

Unsafely copy the elements of an array. Array bounds are not checked.