generic-optics: Generically derive traversals, lenses and prisms.

[ bsd3, generics, lens, library, records ] [ Propose Tags ]

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

Maintainer's Corner

Package maintainers

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
Change log ChangeLog.md
Dependencies base (>=4.11 && <5), generic-lens-core (==2.2.0.0), optics-core (>=0.2 && <1.0), text (>=1.2 && <1.3) [details]
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 kcsongor at 2021-07-13T11:11:43Z
Distributions LTSHaskell:2.2.1.0, NixOS:2.2.1.0, Stackage:2.2.1.0
Reverse Dependencies 3 direct, 2 indirect [details]
Downloads 2161 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 2021-07-13 [all 1 reports]