@hackage generic-lens-core2.3.0.0
Generically derive traversals, lenses and prisms.
Installation
Tested Compilers
Dependencies (3)
- base >=4.11 && <5
- indexed-profunctors >=0.1 && <1
- text >=1.2 && <1.3 || >=2.0 && <2.2 Show all…
Dependents (5)
@hackage/generic-optics, @hackage/generic-labels, @hackage/higgledy, @hackage/generic-lens, @hackage/mutable
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.
This package is the shared internal logic of the
generic-lens
and
generic-optics
libraries.