lens-family-core: Haskell 2022 Lens Families

[ bsd3, data, lenses, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0, 0.0.1, 0.1.0, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 2.0.0, 2.1.0, 2.1.2, 2.1.3
Change log CHANGELOG
Dependencies base (>=4.11 && <5), containers (>=0.5.8 && <0.8), transformers (>=0.3.0 && <0.7) [details]
License BSD-3-Clause
Copyright Copyright (C) 2012,2013,2014,2017,2018,2019 Russell O'Connor
Author Russell O'Connor
Maintainer Russell O'Connor <roconnor@r6.ca>
Category Data, Lenses
Source repo head: darcs get https://hub.darcs.net/roconnor/lens-family
Uploaded by RussellOConnor at 2024-03-19T01:00:17Z
Distributions Arch:2.1.3, Debian:2.0.0, Fedora:2.1.2, LTSHaskell:2.1.3, NixOS:2.1.3, Stackage:2.1.3
Reverse Dependencies 22 direct, 222 indirect [details]
Downloads 31007 total (232 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-03-19 [all 1 reports]