Data.Array.UM
Description
Mutable unlifted arrays.
data Array a Source #
Constructors
Defined in Data.Array.UM
Associated Types
Methods
to# :: Array a -> Rep (Array a) Source #
from# :: Rep (Array a) -> Array a Source #
defaultElem :: Array a Source #
elemType :: Array a -> Proxy# a Source #
new :: Unlifted a => Int -> a -> IO (Array a) Source #
empty :: Array a Source #
read :: Unlifted a => Array a -> Int -> IO a Source #
write :: Unlifted a => Array a -> Int -> a -> IO () Source #
modify :: Unlifted a => Array a -> Int -> (a -> a) -> IO () Source #
map' :: Unlifted a => (a -> a) -> Array a -> IO () Source #
for :: Unlifted a => Array a -> (a -> IO ()) -> IO () Source #
forIx :: Unlifted a => Array a -> (Int -> a -> IO ()) -> IO () Source #
set :: Unlifted a => Array a -> a -> IO () Source #
size :: Array a -> Int Source #
thawSlice :: Array a -> Int -> Int -> IO (Array a) Source #
thaw :: Array a -> IO (Array a) Source #
copySlice :: Array a -> Int -> Array a -> Int -> Int -> IO () Source #
sizedThaw :: Int -> Array a -> IO (Array a) Source #
unsafeFreeze :: Array a -> IO (Array a) Source #
freezeSlice :: Array a -> Int -> Int -> IO (Array a) Source #
freeze :: Array a -> IO (Array a) Source #