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.
Versions [faq] | 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 |
---|---|
Dependencies | base (>=4.9 && <5), contravariant (==1.4.*), ghc-prim (>=0.5 && <1.0), profunctors (>=5.2 && <6.0), transformers (==0.5.*) [details] |
License | BSD-3-Clause |
Author | Sjoerd Visscher |
Maintainer | sjoerd@w3future.com |
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 2017-01-02T18:57:06Z |
Distributions | Arch:1.0, LTSHaskell:1.0, NixOS:2.0, Stackage:1.0 |
Downloads | 14433 total (38 in the last 30 days) |
Rating | 2.5 (votes: 3) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-01-02 [all 1 reports] |
Downloads
- one-liner-0.6.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)