one-liner: Constraint-based generics
Write short and concise generic instances of type classes.
There are two separate parts: Generics.OneLiner
is for
writing generic functions using GHC.Generics
.
The other modules show how to implement these same generic
functions with a traversal-style generics type class,
without the use of an intermediate generic representation
type.
Modules
- Generics
- Generics.OneLiner
- Generics.OneLiner.ADT
- Generics.OneLiner.ADT1
- Generics.OneLiner.Functions
- Generics.OneLiner.Functions1
- Generics.OneLiner.Info
- Generics.OneLiner
Downloads
- one-liner-0.5.2.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
Versions [RSS] | 0, 0.1, 0.2, 0.2.1, 0.2.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.5, 0.5.1, 0.5.2, 0.6, 0.7, 0.8, 0.8.1, 0.9, 0.9.1, 0.9.2, 1.0, 2.0, 2.1 |
---|---|
Dependencies | base (>=4.7 && <4.8), contravariant (>=1.2 && <1.4), ghc-prim, transformers (>=0.3 && <0.6) [details] |
License | BSD-3-Clause |
Author | Sjoerd Visscher |
Maintainer | sjoerd@w3future.com |
Revised | Revision 1 made by HerbertValerioRiedel at 2017-05-21T16:25:09Z |
Category | Generics |
Home page | https://github.com/sjoerdvisscher/one-liner |
Bug tracker | https://github.com/sjoerdvisscher/one-liner/issues |
Source repo | head: git clone git://github.com/sjoerdvisscher/one-liner.git |
Uploaded | by SjoerdVisscher at 2015-12-30T18:04:58Z |
Distributions | Arch:2.1, LTSHaskell:2.1, NixOS:2.1, Stackage:2.1 |
Reverse Dependencies | 4 direct, 3 indirect [details] |
Downloads | 18061 total (14 in the last 30 days) |
Rating | 2.5 (votes: 3) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2016-11-29 [all 3 reports] |