lens-family

Lens Families

Version on this page:1.2.3
LTS Haskell 14.2:1.2.3
Stackage Nightly 2019-08-22:1.2.3
Latest on Hackage:2.0.0

See all snapshots lens-family appears in

BSD-3-Clause licensed by Russell O'Connor
Maintained by Russell O'Connor

Module documentation for 1.2.3

This version can be pinned in stack with:lens-family-1.2.3@sha256:b5ae2994a2423e3ba532840cc040579f69bdb155a32bb822daa1cf892ad64036,1721

This package provides first class functional references. In addition to the usual operations of getting, setting and composition, plus integration with monad state, lens families provide some unique features:

  • Polymorphic updating

  • Traversals

  • Cast projection functions to read-only lenses

  • Cast "toList" functions to read-only traversals

  • Cast semantic editor combinators to modify-only traversals.

comments powered byDisqus