lens-sop: Computing lenses generically using generics-sop
This library contains a definition of generalized lenses, along with SOP-style
generic functions (based on
generics-sop)
that compute lenses for a given record type. Generalized lenses for the
SOP representation types are also provided.
Furthermore, a generic function is provided that computes a lens from a given (string-based) path specification.
Modules
[Index] [Quick Jump]
Downloads
- lens-sop-0.3.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.3.0, 0.3.1 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.14 && <4.23), generics-sop (>=0.2.3 && <0.6), optics-core (>=0.4 && <0.5) [details] |
| Tested with | ghc ==8.10.7, ghc ==9.2.8, ghc ==9.4.8, ghc ==9.6.6, ghc ==9.8.2, ghc ==9.10.1, ghc ==9.12.1, ghc ==9.14.1 |
| License | BSD-3-Clause |
| Author | Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com> |
| Maintainer | andres@well-typed.com |
| Category | Generics |
| Source repo | head: git clone https://github.com/well-typed/lens-sop |
| Uploaded | by EdskoDeVries at 2026-01-07T12:40:12Z |
| Distributions | NixOS:0.3.0 |
| Reverse Dependencies | 2 direct, 0 indirect [details] |
| Downloads | 5610 total (25 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2026-01-07 [all 1 reports] |