primitive-maybe: Arrays of Maybes

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]


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.

[Skip to Readme]


Versions 0.1.0, 0.1.1,,
Change log None available
Dependencies base (>= && <5), primitive (>=0.6.4) [details]
License BSD-3-Clause
Copyright 2018 Andrew Martin
Author Andrew Martin
Category Array
Home page
Bug tracker
Source repo head: git clone
Uploaded by chessai at 2019-01-08T21:37:11Z




Maintainer's Corner

For package maintainers and hackage trustees

Readme for primitive-maybe-

[back to package description]


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.