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.

Modules

[Index] [Quick Jump]

Downloads

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

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1
Change log CHANGELOG.md
Dependencies base (>=4.9 && <4.17) [details]
License Apache-2.0
Copyright 2019-2021 Google LLC
Author Andrew Pritchard <awpritchard@gmail.com>
Maintainer Andrew Pritchard <awpritchard@gmail.com>
Revised Revision 3 made by AndrewPritchard at 2022-08-14T16:06:32Z
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:0.1.0.1
Downloads 275 total (10 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]