unpacked-either alternatives and similar packages
Based on the "unpacked" category.
Alternatively, view unpacked-either alternatives based on common mentions on social networks and blogs.
Do you think we are missing an alternative of unpacked-either or a related project?
This module is intended to be a drop-in replacement for Either. To shave off pointer chasing, it uses '-XUnboxedSums' to represent the Either type as two machine words that are contiguous in memory, without loss of expressiveness that Either provides.
This library provides pattern synonyms Left and Right that allow users to pattern match on an Unpacked Either in a familiar way.
Functions are also provided for converting an Unpacked Either to the base library's Either, and vice versa.
This library is in alpha, and the internals are likely to change.