Package Info

ghc-lens-family-core


Haskell 2022 Lens Families


Unspecified

This package provides 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

  • Traversals

  • Cast projection functions to read-only lenses

  • Cast "toList" functions to read-only traversals

  • Cast semantic editor combinators to modify-only traversals.

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


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/lens-family-core

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
2.1.0-bp154.1.12 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-lens-family-core
  • ghc-lens-family-core-devel
1.2.1-bp150.2.5 info GA Release 2018-08-01 15
  • AArch64
  • ghc-lens-family-core
  • ghc-lens-family-core-devel
1.2.1-bp150.2.6 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-lens-family-core
  • ghc-lens-family-core-devel