newtype-generics: A typeclass and set of functions for working with newtypes, with generics support.
Per Conor McBride, the Newtype typeclass represents the packing and unpacking of a newtype, and allows you to operate 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.
[Skip to Readme]
|Versions [faq]||0.4, 0.4.0.1, 0.4.1, 0.4.2, 0.5, 0.5.0.1, 0.5.1, 0.5.2, 0.5.2.1, 0.5.2.2, 0.5.3, 0.5.4|
|Dependencies||base (>=4.6 && <4.11), transformers [details]|
|Author||Darius Jahandarie, Conor McBride, João Cristóvão|
|Maintainer||Simon Jakobi <firstname.lastname@example.org>|
|Source repo||head: git clone https://github.com/jcristovao/newtype-generics|
|Uploaded||by sjakobi at Fri Feb 16 01:59:45 UTC 2018|
|Distributions||Arch:0.5.3, Debian:0.5.3, Fedora:0.5.3, LTSHaskell:0.5.3, NixOS:0.5.4, Stackage:0.5.3|
|Downloads||14253 total (367 in the last 30 days)|
|Rating||2.0 (votes: 1) [estimated by rule of succession]|
Docs available [build log]
Last success reported on 2018-02-16 [all 1 reports]
For package maintainers and hackage trustees