lens-sop: Computing lenses generically using generics-sop

[ bsd3, generics, library ] [ Propose Tags ]

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.

Downloads

Maintainer's Corner

Package maintainers

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.18), generics-sop (>=0.2.3 && <0.6), optics-core (>=0.4 && <0.5), transformers (>=0.3 && <0.7) [details]
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 2023-02-22T11:11:17Z
Distributions NixOS:0.3.0
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 5207 total (38 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]