generic-optics: Generically derive traversals, lenses and prisms.
This library uses GHC.Generics to derive efficient optics (traversals, lenses and prisms) for algebraic data types in a type-directed way, with a focus on good type inference and error messages when possible.
The library exposes an optics interface. For a van Laarhoven interface, see
generic-lens.
Downloads
- generic-optics-2.3.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 2.0.0.0, 2.1.0.0, 2.2.0.0, 2.2.1.0, 2.3.0.0 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | base (>=4.11 && <5), generic-lens-core (>=2.3.0.0 && <2.4), optics-core (>=0.2 && <1) [details] |
| Tested with | ghc ==9.14.1, ghc ==9.12.2, ghc ==9.10.2, ghc ==9.8.4, ghc ==9.6.7, ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4 |
| License | BSD-3-Clause |
| Author | Csongor Kiss |
| Maintainer | kiss.csongor.kiss@gmail.com |
| Category | Generics, Records, Lens |
| Home page | https://github.com/kcsongor/generic-lens |
| Uploaded | by AndreasAbel at 2025-08-27T18:56:14Z |
| Distributions | LTSHaskell:2.2.1.0, NixOS:2.2.1.0, Stackage:2.3.0.0 |
| Reverse Dependencies | 4 direct, 2 indirect [details] |
| Downloads | 3221 total (13 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2025-08-27 [all 1 reports] |