The data-lens-light package

[ Tags: data, lenses, library, mit ] [ Propose Tags ]


[Skip to Readme]


Versions 0.1,,, 0.1.1, 0.1.2,,
Change log
Dependencies base (==4.*), mtl (>=2.1), template-haskell [details]
License MIT
Author Roman Cheplyaka
Category Data, Lenses
Home page
Source repo head: git clone
Uploaded Thu May 26 14:40:26 UTC 2016 by RomanCheplyaka
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 5787 total (151 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 2016-05-26 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for data-lens-light-

[back to package description]


This is a minimalistic lens library, based on data-lens.

The main differences from data-lens are:

  • reduced API
  • minimal set of dependencies
  • data-lens, data-lens-fd and data-lens-template exported through a single module in a single package
  • MonadState combinators return ()
  • strict MonadState combinators force the whole state, too

(The above list may be not exhaustive. Compatibility with data-lens is not a goal.)