On this page
Data.Array.IO
Copyright | (c) The University of Glasgow 2001 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | experimental |
Portability | non-portable (uses Data.Array.MArray) |
Safe Haskell | None |
Language | Haskell2010 |
Contents
Description
Mutable boxed and unboxed arrays in the IO monad.
IO arrays with boxed elements
data IOArray i e :: * -> * -> * Source
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 ofIx
)e
: the element type of the array.
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.
Instances
Overloaded mutable array interface
module Data.Array.MArray
Doing I/O with IOUArrays
Arguments
Reads a number of Word8
s from the specified Handle
directly into an array.
Arguments
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/array-0.5.1.0/Data-Array-IO.html