Generically derive traversals, lenses and prisms.

Version on this page:
LTS Haskell 22.29:
Stackage Nightly 2024-07-13:
Latest on Hackage:

See all snapshots generic-lens-core appears in

BSD-3-Clause licensed by Csongor Kiss
Maintained by [email protected]
This version can be pinned in stack with:generic-lens-core-,2913

Module documentation for

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.


generic-lens-core- (2021-01-25)

  • Expose Data.Generics.Product.Internal.Subtype (#127, Tom Harding)

generic-lens-core- (2020-02-11)

  • Initial release