newtype-generics

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

Latest on Hackage:[email protected]:1

See all snapshots newtype-generics appears in

BSD-3-Clause licensed by Darius Jahandarie, Conor McBride, João Cristóvão
Maintained by João Cristóvão

Module documentation for 0.5

This version can be pinned in stack with:[email protected]:4b0dd0a8074a1830523208294864d36d6d443edd298d8e2156111efe558b8c0d,1492

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 1 package(full list with versions):