newtype-generics: A typeclass and set of functions for working with newtypes
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.
Downloads
- newtype-generics-0.6.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 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, 0.6, 0.6.1, 0.6.2 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.9 && <4.17), transformers (<0.6) [details] |
Tested with | ghc ==9.2.1, ghc ==9.0.1, ghc ==8.10.4, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2 |
License | BSD-3-Clause |
Author | Darius Jahandarie, Conor McBride, João Cristóvão, Simon Jakobi |
Maintainer | Simon Jakobi <simon.jakobi@gmail.com> |
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 2021-11-02T12:05:48Z |
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, 8519 indirect [details] |
Downloads | 40387 total (17 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 2021-11-02 [all 1 reports] |