A typeclass and set of functions for working with newtypes.

Latest on Hackage:[email protected]:1

See all snapshots newtype appears in

BSD-3-Clause licensed by Darius Jahandarie, Conor McBride
Maintained by Darius Jahandarie <djahandarie at gmail>

Module documentation for 0.2

This version can be pinned in stack with:[email protected]:5fb7b9e034aeb9c728a2916bf9b041c598de9e818170b83b7e6e0eda98f1df8b,793

Per Conor McBride, the Newtype typeclass represents the packing and unpacking of a newtype, and allows you to operatate under that newtype with functions such as ala.