generic-optics-lite: Monomorphic field opics like with generic-lens
Derivation of (monomorphic, i.e. not type-changing) lens, like generic-lens.
The package have minimal dependencies and minimal API:
class HasField (name :: Symbol) r a | name r -> a field :: HasField name r a => Lens' r a
Downloads
- generic-optics-lite-0.1.1.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] | 0.1, 0.1.1 |
---|---|
Dependencies | base (>=4.12.0.0 && <4.21), generic-lens-lite (>=0.1.1 && <0.1.2), optics-core (>=0.4.1.1 && <0.5) [details] |
Tested with | ghc ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.3 || ==9.8.1 |
License | BSD-3-Clause |
Copyright | Copyright (c) 2019 Edward Kmett, 2020 Oleg Grenrus |
Author | Edward Kmett, Csongor Kiss, Oleg Grenrus |
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Category | Lens, Optics, Generics |
Home page | https://github.com/phadej/generic-lens-lite |
Source repo | head: git clone https://github.com/phadej/generic-lens-lite(generic-optics-lite) |
Uploaded | by phadej at 2024-06-07T21:16:52Z |
Distributions | NixOS:0.1.1 |
Downloads | 531 total (11 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2024-06-07 [all 1 reports] |