Package Info

ghc-lens-family-core


Haskell 2022 Lens Families


Unspecified

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.


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-bp155.2.16 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-lens-family-core
  • ghc-lens-family-core-devel
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