IO package:array
Mutable boxed and unboxed arrays in the IO monad.
An
IOArray is a mutable, boxed, non-strict array in the
IO monad. The type arguments are as follows:
- i: the index type of the array (should be an instance of
Ix)
- e: the element type of the array.
Mutable, unboxed, strict arrays in the
IO monad. The type
arguments are as follows:
- i: the index type of the array (should be an instance of
Ix)
- e: the element type of the array. Only certain element
types are supported: see Data.Array.MArray for a list of
instances.
An
IOArray is a mutable, boxed, non-strict array in the
IO monad. The type arguments are as follows:
- i: the index type of the array (should be an instance of
Ix)
- e: the element type of the array.
Mutable, unboxed, strict arrays in the
IO monad. The type
arguments are as follows:
- i: the index type of the array (should be an instance of
Ix)
- e: the element type of the array. Only certain element
types are supported: see Data.Array.MArray for a list of
instances.
Casts an
IOUArray with one element type into one with a
different element type. All the elements of the resulting array are
undefined (unless you know what you're doing...).