HORIZON HASKELLDocslts/ghc-10.0.xd29e1592026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · d29e159 · 2026-10-12

Package2.3.0.0GenericsRecordsLens

generic-optics

Generically derive traversals, lenses and prisms.

Modules

15 modules

Description

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.

Depends on

3 packages

Used by in this set · 0

Nothing in this set depends on it.