Description
A typeclass and set of functions for working with newtypes.
Description
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.