@hackage newtype-generics0.6
A typeclass and set of functions for working with newtypes
Installation
Tested Compilers
Dependencies (2)
- base >=4.9 && <4.16
- transformers <0.6 Show all…
Dependents (21)
@hackage/octane, @cardano/plutus-ledger, @hackage/MemoTrie, @hackage/photoname, @cardano/marlowe-cardano, @cardano/marlowe-runtime, Show all…
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.