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

Safe HaskellNone
LanguageHaskell98

Data.Array.Comfort.Storable.Mutable

Documentation

data Array sh a Source #

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

Defined in Data.Array.Comfort.Storable.Mutable.Internal

Methods

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

show :: Array sh a -> String #

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

shape :: Array sh a -> sh Source #

read :: (Indexed sh, Storable a) => Array sh a -> Index sh -> IO a Source #

write :: (Indexed sh, Storable a) => Array sh a -> Index sh -> a -> IO () Source #

thaw :: (Indexed sh, Storable a) => Array sh a -> IO (Array sh a) Source #

freeze :: (Indexed sh, Storable a) => Array sh a -> IO (Array sh a) Source #