Popularity
5.6
Declining
Activity
0.0
Stable
8
4
1

Monthly Downloads: 9
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Development     Unpacked    

unpacked-maybe alternatives and similar packages

Based on the "unpacked" category.
Alternatively, view unpacked-maybe alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of unpacked-maybe or a related project?

Add another 'unpacked' Package

README

unpacked-maybe

This module is intended to be a drop-in replacement for the Maybe type provided by base. To shave off pointer chasing, it uses -XUnboxedSums to represent the Maybe type as two machine words that are contiguous in memory, without loss of expressiveness that Maybe provides.

This library provides pattern synonyms Just and Nothing that allow users to pattern match on an Unpacked Maybe in the familiar way.

Functions are also provided for converting an Unpacked Maybe to the base library's Maybe, and vice versa.

This library is in alpha, and the internals are likely to change.