newtype: 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
. See Control.Newtype for documentation and examples.
Downloads
- newtype-0.2.2.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
Candidates
Versions [RSS] | 0.1, 0.2, 0.2.1.0, 0.2.2.0 |
---|---|
Change log | CHANGES.md |
Dependencies | base (>=4.3 && <5), transformers (>=0.2.2.0 && <0.6) [details] |
Tested with | ghc ==9.4.1, ghc ==9.2.2, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2, ghc ==7.10.3, ghc ==7.8.4, ghc ==7.6.3, ghc ==7.4.2, ghc ==7.0.4 |
License | BSD-3-Clause |
Author | Herbert Valerio Riedel, Darius Jahandarie, Conor McBride |
Maintainer | Andreas Abel |
Revised | Revision 3 made by AndreasAbel at 2022-05-25T22:52:44Z |
Category | Control |
Bug tracker | https://github.com/hvr/newtype/issues |
Source repo | head: git clone https://github.com/hvr/newtype.git |
Uploaded | by HerbertValerioRiedel at 2019-09-10T18:57:21Z |
Distributions | Arch:0.2.2.0, Debian:0.2.2.0, FreeBSD:0.2, LTSHaskell:0.2.2.0, NixOS:0.2.2.0, Stackage:0.2.2.0 |
Reverse Dependencies | 33 direct, 7904 indirect [details] |
Downloads | 50887 total (151 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2019-09-10 [all 1 reports] |