Description
Arrays of Maybes.
Description
This library provides types for working with arrays of Maybe
values. The types in this library can be used as replacements for Array (Maybe a)
and SmallArray (Maybe a)
that consume less memory and have fewer indirections.
README.md
primitive-maybe
primitive-maybe
provides types SmallMaybeArray a
and MaybeArray a
which are equivalent to SmallArray (Maybe a)
and Array (Maybe a)
, respectively, but shaves off an indirection during indexing, making it more efficient for these purposes.