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

Safe HaskellSafe-Infered




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.