generic-optics

Generically derive traversals, lenses and prisms.

https://github.com/kcsongor/generic-lens

Version on this page:2.0.0.0
LTS Haskell 18.4:2.1.0.0
Stackage Nightly 2021-06-14:2.1.0.0
Latest on Hackage:2.2.0.0

See all snapshots generic-optics appears in

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.

Changes

generic-optics-2.0.0.0 (2020-02-11)

  • Initial release