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.0.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
- 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 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.6 && <4.21), generics-sop (>=0.2.3 && <0.6), optics-core (>=0.4 && <0.5), transformers (>=0.3 && <0.7) [details] |
Tested with | ghc ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.5 || ==9.4.4 |
License | BSD-3-Clause |
Author | Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com> |
Maintainer | andres@well-typed.com |
Revised | Revision 2 made by EdskoDeVries at 2024-10-31T09:11:36Z |
Category | Generics |
Source repo | head: git clone https://github.com/well-typed/lens-sop |
Uploaded | by EdskoDeVries at 2023-02-22T11:11:17Z |
Distributions | NixOS:0.3.0 |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Downloads | 5448 total (8 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2023-02-22 [all 1 reports] |