putlenses: Put-based lens library
Putlenses is a library of lenses where users specify backward put transformations (set in the Haskell lens package) and the library provides forward get transformations for free (view in the lens package). This contrasts with other traditional libraries for bidirectional programming, where forward transformations are specified instead and backward transformations are automatically derived, and offers more expressive power and control over the bidirectional synchronization strategies to users, while preserving a similarly maintainable specification style.
An introduction to putback-based programming can be found at http://grace-center.jp/wp-content/uploads/2013/01/GRACE-TR-2012-08.pdf.
A draft report on putlenses is available at http://www.prg.nii.ac.jp/members/hpacheco/publications/putlenses.pdf.
[Skip to Readme]
Modules
- GHC
- GHC.InOut
- Generics
- Putlenses
- Examples
- Generics.Putlenses.Examples.Examples
- Generics.Putlenses.Examples.People
- Generics.Putlenses.Language
- Generics.Putlenses.Putlens
- Generics.Putlenses.QuickCheck
- Generics.Putlenses.TH
- Examples
- Putlenses
Downloads
- putlenses-0.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.0.1, 0.0.2, 0.0.3, 0.1.0, 0.1.1, 0.1.2, 0.1.3 |
|---|---|
| Dependencies | base (>=4.3 && <5), containers (>=0.4.2.1), ghc-prim (>=0.2.0.0), lens (>=3.9.0.2), mtl (>=2.1.2), QuickCheck (>=2.5.1.1), template-haskell (==2.7.0.0) [details] |
| License | BSD-3-Clause |
| Author | Hugo Pacheco <hpacheco@nii.ac.jp> |
| Maintainer | Hugo Pacheco <hpacheco@nii.ac.jp> |
| Uploaded | by HugoPacheco at 2013-04-28T14:22:47Z |
| Category | Generics, Lenses |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 5255 total (9 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs not available [build log] All reported builds failed as of 2016-12-21 [all 7 reports] |