one-liner: Constraint-based generics
Write short and concise generic instances of type classes. one-liner is particularly useful for writing default implementations of type class methods.
Modules
[Index] [Quick Jump]
Downloads
- one-liner-2.1.1.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, 2.1.1 |
|---|---|
| Change log | CHANGELOG |
| Dependencies | base (>=4.9 && <5), bifunctors (>=5.4 && <6), contravariant (>=1.4 && <1.6), ghc-prim (>=0.5 && <1), linear-base (>=0.1 && <1), profunctors (>=5.2 && <6), tagged (>=0.8 && <0.10) [details] |
| Tested with | ghc ==9.6.7, ghc ==9.8.4, ghc ==9.10.3, ghc ==9.12.2, ghc ==9.14.1 |
| License | BSD-3-Clause |
| Author | Sjoerd Visscher, Xia Li-yao |
| Maintainer | sjoerd@w3future.com |
| Uploaded | by SjoerdVisscher at 2026-01-06T16:00:46Z |
| Revised | Revision 1 made by SjoerdVisscher at 2026-09-28T12:46:28Z |
| Category | Generics |
| Home page | https://github.com/sjoerdvisscher/one-liner |
| Bug tracker | https://github.com/sjoerdvisscher/one-liner/issues |
| Source repo | head: git clone https://github.com/sjoerdvisscher/one-liner |
| Distributions | Arch:2.1.1, LTSHaskell:2.1.1, Stackage:2.1.1 |
| Reverse Dependencies | 4 direct, 3 indirect [details] |
| Downloads | 19355 total (87 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 2026-01-06 [all 1 reports] |