BSD-3-Clause licensed by Russell O'Connor
Maintained by Russell O'Connor
This version can be pinned in stack with:lens-family-core-2.1.3@sha256:3714c3fa57a556d6fb958234fa4cde8401e098458dc9041416c54d25ec187473,2320
Used by 1 package in nightly-2024-06-13(full list with versions):

This package provides first class(†) functional references in Van Laarhoven style supporting the following optics:

  • Lenses (view, over)

  • Traversals (toListOf, matching, over)

  • Setters (over)

  • Grates (zipWithOf, under, review)

  • Resetters (under)

  • Adapters (view, review)

  • Grids (toListOf, over / under, review)

  • Prisms (matching, over / under, review)

  • Getters (view)

  • Folders (toListOf)

  • Reviewers (review)

(†) For optimal first-class support use the lens-family package with rank 2 / rank N polymorphism. Lens.Family.Clone allows for first-class support of lenses and traversals for those who cannot support rank 2 polymorphism.