comfort-array-0.1.2: Arrays where the index type is a function of the shape type

Safe HaskellNone
LanguageHaskell98

Data.Array.Comfort.Boxed

Documentation

data Array sh a Source #

shape :: Array sh a -> sh Source #

(!) :: Indexed sh => Array sh a -> Index sh -> a infixl 9 Source #

toList :: C sh => Array sh a -> [a] Source #

fromList :: C sh => sh -> [a] -> Array sh a Source #

map :: C sh => (a -> b) -> Array sh a -> Array sh b Source #