@hackage generic-optics2.2.1.0
Generically derive traversals, lenses and prisms.
Installation
Tested Compilers
Dependencies (4)
- base >=4.11 && <5
- text >=1.2 && <1.3 || >=2.0 && <2.2
- generic-lens-core ==2.2.1.0
- optics-core >=0.2 && <1.0 Show all…
Dependents (4)
@hackage/ema-generics, @cardano/cuddle, @hackage/bytepatch, @hackage/ema
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
.