The lens-family-core package
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
Cast projection functions to read-only lenses
Cast semantic editor combinators to modify-only lenses
(†) 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 for those who require Haskell 98.
Properties
| Versions | 0.0.0, 0.0.1, 0.1.0 |
|---|---|
| Dependencies | base (4.*), containers (≥0.3 & <0.6), transformers (≥0.2.0 & <0.4) |
| License | BSD3 |
| Copyright | Copyright (C) 2012 Russell O'Connor |
| Author | Russell O'Connor |
| Maintainer | Russell O'Connor <roconnor@theorem.ca> |
| Stability | experimental |
| Category | Data, Lenses |
| Source repository | darcs get http://r6.ca/lens-family |
| Upload date | Sun Aug 5 02:40:31 UTC 2012 |
| Uploaded by | RussellOConnor |
| Built on | ghc-7.4 |
Modules
Downloads
- lens-family-core-0.1.0.tar.gz (Cabal source package)
- package description (included in the package)