Portability | non-portable (uses Data.Array.MArray) |
---|---|
Stability | experimental |
Maintainer | libraries@haskell.org |
Safe Haskell | None |
Mutable boxed and unboxed arrays in the IO monad.
IO
arrays with boxed elements
IO
arrays with unboxed elements
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 ofIx
) -
e
: the element type of the array. Only certain element types are supported: see Data.Array.MArray for a list of instances.
Typeable2 IOUArray | |
MArray IOUArray Bool IO | |
MArray IOUArray Char IO | |
MArray IOUArray Double IO | |
MArray IOUArray Float IO | |
MArray IOUArray Int IO | |
MArray IOUArray Int8 IO | |
MArray IOUArray Int16 IO | |
MArray IOUArray Int32 IO | |
MArray IOUArray Int64 IO | |
MArray IOUArray Word IO | |
MArray IOUArray Word8 IO | |
MArray IOUArray Word16 IO | |
MArray IOUArray Word32 IO | |
MArray IOUArray Word64 IO | |
Monad IO => MArray IOUArray (StablePtr a) IO | |
Monad IO => MArray IOUArray (Ptr a) IO | |
Monad IO => MArray IOUArray (FunPtr a) IO | |
Eq (IOUArray i e) |
castIOUArray :: IOUArray i a -> IO (IOUArray i b)Source
Deprecated: Please import from Data.Array.Unsafe instead; This will be removed in the next release
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...).
Overloaded mutable array interface
module Data.Array.MArray