PrimitiveExtras.UnliftedArray

primitive-extras-0.10.2.1: Extras for the "primitive" library

Safe Haskell | None
Language | Haskell2010

PrimitiveExtras.UnliftedArray

# Documentation

at :: PrimUnlifted element => UnliftedArray element -> Int -> forall result. result -> (element -> result) -> result #

replicateIO :: PrimUnlifted a => Int -> IO a -> IO (UnliftedArray a) #

generate :: PrimUnlifted a => Int -> (Int -> IO a) -> IO (UnliftedArray a) #

traverse_ :: (Monad m, PrimUnlifted a) => (a -> m ()) -> UnliftedArray a -> m () #