lens-family

Lens Families

Version on this page:2.0.0
LTS Haskell 22.39:2.1.3
Stackage Nightly 2024-10-31:2.1.3
Latest on Hackage:2.1.3

See all snapshots lens-family appears in

BSD-3-Clause licensed by Russell O'Connor
Maintained by Russell O'Connor
This version can be pinned in stack with:lens-family-2.0.0@sha256:b915001e862bda2ad5e0e5c17ba59f4483d02a02cbac020fd35f58e6736bc9a7,1989

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)