data-easy

Consistent set of utility functions for Maybe, Either, List and Monoids.

https://github.com/jcristovao/data-easy

Latest on Hackage:0.7.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by João Cristóvão
Maintained by [email protected]

Easy to use set of utility functions, implementing a Data.Maybe like interface for other common types, like Either, List, Bool, Tuple, or even member of the Monoid type class. Also features a set of conversion functions among them, using sensible defaults.

Most of these functions are one liners, and this library started out as a self-educational project, which nevertheless proved to to be useful on its own right.

Please feel free to contribute and/or suggest changes.