A typeclass and set of functions for working with newtypes, with generics support.
|Version on this page:||[email protected]:1|
|LTS Haskell 15.14:||[email protected]:1|
|Stackage Nightly 2020-05-31:||[email protected]:1|
|Latest on Hackage:||[email protected]:1|
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. Generics support was added in version 0.4, making this package a full replacement for the original newtype package, and a better alternative to newtype-th.