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

[ bsd3, control, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

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

Package maintainers

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.21) [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>
Revised Revision 4 made by Bodigrim at 2024-05-12T19:30:26Z
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 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, 8346 indirect [details]
Downloads 39566 total (213 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]