Popularity
4.1
Stable
Activity
0.0
Stable
3
5
0

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

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?

Add another 'unpacked' Package

README

unpacked-either

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.