@hackage lens-family-core0.0.0

Haskell 98 Lens Families

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

  • Polymorphic updating

  • Cast projection functions to read-only lenses

  • Cast semantic editor combinators to modify-only lenses

(†) 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 for those who require Haskell 98.