newtype

A typeclass and set of functions for working with newtypes.

Version on this page:0.2
LTS Haskell 22.37:0.2.2.0@rev:3
Stackage Nightly 2024-10-11:0.2.2.0@rev:3
Latest on Hackage:0.2.2.0@rev:3

See all snapshots newtype appears in

BSD-3-Clause licensed by Darius Jahandarie, Conor McBride
Maintained by Darius Jahandarie <djahandarie at gmail>
This version can be pinned in stack with:newtype-0.2@sha256:5fb7b9e034aeb9c728a2916bf9b041c598de9e818170b83b7e6e0eda98f1df8b,793

Module documentation for 0.2

Depends on 1 package(full list with versions):
Used by 2 packages in lts-11.22(full list with versions):

Per Conor McBride, the Newtype typeclass represents the packing and unpacking of a newtype, and allows you to operatate under that newtype with functions such as ala.