generic-lens-core

Generically derive traversals, lenses and prisms.

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

Version on this page:2.2.1.0@rev:1
LTS Haskell 22.39:2.2.1.0@rev:2
Stackage Nightly 2024-10-31:2.2.1.0@rev:2
Latest on Hackage:2.2.1.0@rev:2

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-2.2.1.0@sha256:d6e1d5ac9b403d9451953bd811a983b292f59aed6227485c52f8fa334d8372b5,3045

Module documentation for 2.2.1.0

Used by 2 packages in nightly-2023-10-01(full list with versions):

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.

Changes

generic-lens-core-2.2.1.0 (2022-01-22)

  • GHC 9.2 compatibility

generic-lens-core-2.2.0.0 (2021-07-13)

  • GHC 9.0 compatibility

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

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

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

  • Initial release