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.


[Index] [Quick Jump]


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'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.4,, 0.4.1, 0.4.2, 0.5,, 0.5.1, 0.5.2,,, 0.5.3, 0.5.4, 0.6, 0.6.1, 0.6.2
Change log
Dependencies base (>=4.9 && <4.21) [details]
License BSD-3-Clause
Author Darius Jahandarie, Conor McBride, João Cristóvão, Simon Jakobi
Maintainer Simon Jakobi <>
Revised Revision 4 made by Bodigrim at 2024-05-12T19:30:26Z
Category Control
Home page
Source repo head: git clone
Uploaded by sjakobi at 2022-05-19T18:43:39Z
Distributions Arch:0.6.2, Debian:0.5.4, Fedora:0.6.2, LTSHaskell:0.6.2, NixOS:0.6.2, Stackage:0.6.2
Reverse Dependencies 17 direct, 8213 indirect [details]
Downloads 38400 total (218 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-05-19 [all 1 reports]