wrapped: Newtypes to carry DerivingVia instances

[ apache, generics, library ] [ Propose Tags ]

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.


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
Change log CHANGELOG.md
Dependencies base (>=4.9 && <4.19) [details]
License Apache-2.0
Copyright 2019-2021 Google LLC
Author Andrew Pritchard <awpritchard@gmail.com>
Maintainer Andrew Pritchard <awpritchard@gmail.com>
Revised Revision 5 made by AndrewPritchard at 2023-03-12T20:03:27Z
Category Generics
Home page https://github.com/google/hs-wrapped#readme
Bug tracker https://github.com/google/hs-wrapped/issues
Source repo head: git clone https://github.com/google/hs-wrapped(wrapped)
Uploaded by AndrewPritchard at 2021-09-17T22:53:02Z
Distributions NixOS:
Reverse Dependencies 8 direct, 10 indirect [details]
Downloads 408 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-09-18 [all 1 reports]