newtype-generics: A typeclass and set of functions for working with newtypes

[ bsd3, control, library ] [ Propose Tags ]

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 0.4,, 0.4.1, 0.4.2, 0.5,, 0.5.1, 0.5.2,,, 0.5.3
Change log
Dependencies base (>=4.6 && <4.13), transformers (<0.6) [details]
License BSD-3-Clause
Author Darius Jahandarie, Conor McBride, João Cristóvão, Simon Jakobi
Maintainer Simon Jakobi <>
Category Control
Home page
Source repo head: git clone
Uploaded by sjakobi at Fri Mar 23 03:06:59 UTC 2018
Distributions Arch:0.5.3, Debian:0.4.1, LTSHaskell:0.5.3, NixOS:0.5.3, Stackage:0.5.3, openSUSE:0.5.3
Downloads 10275 total (142 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-23 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for newtype-generics-0.5.3

[back to package description]



Build Status Hackage