Immutable array type.
Modulererebase-1.21.2Haskell2010
Data.Text.Array
- 2 types
- 20 values
- Packagererebase-1.21.2
- Exports24
- LanguageHaskell2010
- LicenceMIT
- SourceArray.hs
An empty immutable array.
Compare portions of two arrays. No bounds checking is performed.
Convert an immutable array to a list.
Run an action in the ST monad and return an immutable array of its result.
Mutable array type, for use in the ST monad.
copyFromPointer Copy from pointer.
copyI Copy some elements of an immutable array.
copyM Copy some elements of a mutable array.
Compare portions of two arrays for equality. No bounds checking is performed.
Create an uninitialized mutable array.
Freeze a mutable array. Do not mutate the MArray afterwards!
Unchecked read of an immutable array. May return garbage or crash on an out-of-bounds access.
Unchecked write of a mutable array. May return garbage or crash on an out-of-bounds access.
Copy to pointer.
Create an uninitialized mutable pinned array.
Run an action in the ST monad and return an immutable array of its result paired with whatever else the action returns.