|
Data.Array | Portability | portable | Stability | provisional | Maintainer | libraries@haskell.org |
|
|
|
|
|
Description |
Basic non-strict arrays.
|
|
|
|
module Data.Ix |
|
data Array i e |
|
|
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 |