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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.



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]


Versions0.4,, 0.4.1, 0.4.2, 0.5,, 0.5.1, 0.5.2,,, 0.5.3, 0.5.3
Dependenciesbase (>=4.6 && <4.13), transformers (<0.6) [details]
AuthorDarius Jahandarie, Conor McBride, João Cristóvão, Simon Jakobi
MaintainerSimon Jakobi <>
Home page
Source repositoryhead: git clone
UploadedFri Mar 23 03:05:27 UTC 2018 by sjakobi




Maintainers' corner

For package maintainers and hackage trustees

Readme for newtype-generics-0.5.3

[back to package description]



Build Status Hackage