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

Safe HaskellNone
LanguageHaskell98

Data.Array.Comfort.Storable

Documentation

data Array sh a Source #

Instances

(C sh, Show sh, Storable a, Show a) => Show (Array sh a) Source # 

Methods

showsPrec :: Int -> Array sh a -> ShowS #

show :: Array sh a -> String #

showList :: [Array sh a] -> ShowS #

shape :: Array sh a -> sh Source #

(!) :: (C sh, Storable a) => Array sh a -> Index sh -> a infixl 9 Source #

toList :: (C sh, Storable a) => Array sh a -> [a] Source #

fromList :: (C sh, Storable a) => sh -> [a] -> Array sh a Source #