lens-family-core: Haskell 98 Lens Families
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.
Versions [faq] | 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 |
---|---|
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 Thu Sep 27 02:50:48 UTC 2018 |
Distributions | LTSHaskell:1.2.3, NixOS:1.2.3, Stackage:1.2.3 |
Downloads | 8076 total (281 in the last 30 days) |
Rating | (no votes yet) [estimated by rule of succession] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-09-27 [all 1 reports] |
Modules
[Index] [Quick Jump]
Downloads
- lens-family-core-1.2.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)