A typeclass and set of functions for working with newtypes, with generics support.

Version on this page:0.5
LTS Haskell 8.1:0.5
Stackage Nightly 2017-02-19:0.5
Latest on Hackage:0.5
BSD3 licensed by Darius Jahandarie, Conor McBride, João Cristóvão
Maintained by João Cristóvão

Module documentation for 0.5

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.

Depends on:
comments powered byDisqus