lens-family-core: Haskell 98 Lens Families

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

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.

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.8 && <5), containers (>=0.5.8 && <0.7), transformers (>=0.2.0 && <0.6) [details]
License BSD-3-Clause
Copyright Copyright (C) 2012,2013,2014,2017 Russell O'Connor
Author Russell O'Connor
Maintainer Russell O'Connor <roconnor@theorem.ca>
Category Data, Lenses
Source repo head: darcs get http://r6.ca/lens-family
Uploaded by RussellOConnor at 2018-09-27T02:50:48Z
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 31103 total (143 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-09-27 [all 1 reports]