-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Extra foreign primops for primitive arrays -- -- Boxed arrays cannot be allocated without initialization, because in -- that case the garbage collector would try to follow wild pointers. -- This is a source of inefficiency; quite a few operations must allocate -- a new array, initialize it, then overwrite the initial elements with -- the actually relevant data. This package provides low-level primitives -- for doing such operations without superfluous copying. @package array-primops @version 0.2.0.0 module GHC.Prim.SmallArray consSmallArray# :: a -> SmallArray# a -> SmallArray# a snocSmallArray# :: SmallArray# a -> a -> SmallArray# a snocSmallArrayWithPadding# :: Int# -> a -> SmallArray# a -> a -> SmallArray# a insertSmallArray# :: Int# -> a -> SmallArray# a -> SmallArray# a -- | Delete element at position. deleteSmallArray# :: Int# -> SmallArray# a -> SmallArray# a module GHC.Prim.Array consArray# :: a -> Array# a -> Array# a snocArray# :: Array# a -> a -> Array# a snocArrayWithPadding# :: Int# -> a -> Array# a -> a -> Array# a insertArray# :: Int# -> a -> Array# a -> Array# a -- | Delete element at position. deleteArray# :: Int# -> Array# a -> Array# a