The newtype-generics package

[Tags:bsd3, library, test]

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.1, 0.4.2, 0.5
Dependencies base (>=4.6 && <4.10) [details]
License BSD3
Author Darius Jahandarie, Conor McBride, João Cristóvão
Maintainer João Cristóvão <>
Category Control
Source repository head: git clone
Uploaded Tue Oct 18 19:25:23 UTC 2016 by jcristovao
Distributions Debian:0.4.1, LTSHaskell:0.5, NixOS:0.5, Tumbleweed:0.5
Downloads 4416 total (592 in the last 30 days)
1 []
Status Docs available [build log]
Last success reported on 2016-10-18 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees