Haskell Core Libraries (base package)ParentContentsIndex
Data.Array
Portability portable
Stability provisional
Maintainer libraries@haskell.org
Description
Basic non-strict arrays.
module Data.Ix
data Array i e
Instances
(Typeable a, Typeable b) => Typeable (Array a b)
HasBounds Array
IArray Array e
(Ix i) => Functor (Array i)
(Ix i, Eq e) => Eq (Array i e)
(Ix i, Ord e) => Ord (Array i e)
(Ix a, Show a, Show b) => Show (Array a b)
(Ix a, Read a, Read b) => Read (Array a b)
array :: (Ix i) => (i, i) -> [(i, e)] -> Array i e
listArray :: (Ix i) => (i, i) -> [e] -> Array i e
(!) :: (Ix i) => Array i e -> i -> e
bounds :: (Ix i) => Array i e -> (i, i)
indices :: (Ix i) => Array i e -> [i]
elems :: (Ix i) => Array i e -> [e]
assocs :: (Ix i) => Array i e -> [(i, e)]
accumArray :: (Ix i) => (e -> a -> e) -> e -> (i, i) -> [(i, a)] -> Array i e
(//) :: (Ix i) => Array i e -> [(i, e)] -> Array i e
accum :: (Ix i) => (e -> a -> e) -> Array i e -> [(i, a)] -> Array i e
ixmap :: (Ix i, Ix j) => (i, i) -> (i -> j) -> Array j e -> Array i e
Produced by Haddock version 0.4