The putlenses package

[Tags: bsd3, 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 A research paper on putlenses is available at


Versions0.0.1, 0.0.2, 0.0.3, 0.1.0, 0.1.1, 0.1.2, 0.1.3
Dependenciesbase (>=4.3 && <5), containers (>=, ghc-prim (>=, lens (>=, mtl (>=2.1.2), QuickCheck (==2.7.*), random (>=, safe (>=0.3.3), split (>=0.2.2), template-haskell (>= && <, transformers (>=
AuthorHugo Pacheco <>
MaintainerHugo Pacheco <>
CategoryGenerics, Lenses
UploadedTue Sep 30 05:07:03 UTC 2014 by HugoPacheco
Downloads759 total (83 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees