Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides push arrays.
These are part of a larger framework for controlling when memory is
allocated for an array. See Data.Array.Polarized
.
This module is designed to be imported qualified as Push
.
Construction
Push arrays are un-allocated finished arrays. These are finished computations passed along or enlarged until we are ready to allocate.
make :: HasCallStack => a -> Int -> Array a Source #
creates a constant push array of length make
x nn
in which every
element is x
.