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.

Versions [faq] 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, 0.5.4
Change log CHANGELOG.md
Dependencies base (>=4.6 && <4.15), transformers (<0.6) [details]
License BSD-3-Clause
Author Darius Jahandarie, Conor McBride, João Cristóvão, Simon Jakobi
Maintainer Simon Jakobi <simon.jakobi@gmail.com>
Revised Revision 1 made by sjakobi at Tue Nov 26 16:51:28 UTC 2019
Category Control
Home page http://github.com/sjakobi/newtype-generics
Source repo head: git clone https://github.com/sjakobi/newtype-generics
Uploaded by sjakobi at Tue Sep 10 12:21:47 UTC 2019
Distributions Arch:0.5.4, Debian:0.5.3, Fedora:0.5.3, LTSHaskell:0.5.3, NixOS:0.5.4, Stackage:0.5.3
Downloads 16255 total (609 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-09-10 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

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

For package maintainers and hackage trustees