@hackage wrapped0.1.0.1
Newtypes to carry DerivingVia instances
Categories
License
Apache-2.0
Maintainer
Andrew Pritchard <awpritchard@gmail.com>
Links
Versions
Installation
Dependencies (1)
Dependents (9)
@hackage/wrapped-generic-default, @hackage/rle, @hackage/portray, @hackage/finite-table, @hackage/portray-diff, @hackage/ten, Show all…
This exports the newtypes Wrapped and Wrapped1, which are meant to hold
typeclass implementations derived from other classes (most frequently,
Generic and Generic1). If you implement a general instance of a class,
add it as an instance for Wrapped or Wrapped1, and users will be able to
derive it uniformly as deriving TheClass via Wrapped TheType.