newtype: 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. See Control.Newtype for documentation and examples.

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.2.1.0, 0.2.2.0, 0.2.2.1
Change log CHANGES.md
Dependencies base (>=4.9 && <5) [details]
Tested with ghc ==9.14.1, ghc ==9.12.2, ghc ==9.10.3, ghc ==9.8.4, ghc ==9.6.7, ghc ==9.4.8, ghc ==9.2.8, 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
License BSD-3-Clause
Author Herbert Valerio Riedel, Darius Jahandarie, Conor McBride
Maintainer Andreas Abel
Category Control
Bug tracker https://github.com/hvr/newtype/issues
Source repo head: git clone https://github.com/hvr/newtype.git
Uploaded by AndreasAbel at 2025-12-26T13:46:04Z
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 34 direct, 8494 indirect [details]
Downloads 51281 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-12-26 [all 1 reports]