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 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.
|Versions||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|
|Dependencies||base (>=4.6 && <4.8) [details]|
|Author||Darius Jahandarie, Conor McBride, João Cristovão|
|Maintainer||João Cristóvão <email@example.com>|
|Revised||Revision 1 made by phadej at Tue Oct 18 13:18:07 UTC 2016|
|Source repo||head: git clone https://github.com/jcristovao/newtype-generics|
|Uploaded||by jcristovao at Fri May 9 15:41:49 UTC 2014|
|Distributions||Arch:0.5.3, Debian:0.5.3, LTSHaskell:0.5.3, NixOS:0.5.3, Stackage:0.5.3|
|Downloads||11229 total (134 in the last 30 days)|
|Rating||2.0 (votes: 1) [estimated by rule of succession]|
|Status||Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI
- newtype-generics-0.4.0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
For package maintainers and hackage trustees