data-lens-light: Simple lenses, minimum dependencies

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




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS] 0.1,,, 0.1.1, 0.1.2,,,
Change log
Dependencies base (>=4.5 && <5), mtl (>=2.1), template-haskell (<2.11) [details]
License MIT
Author Roman Cheplyaka
Revised Revision 1 made by Bodigrim at 2022-08-17T18:45:04Z
Category Data
Home page
Uploaded by RomanCheplyaka at 2014-05-08T18:41:27Z
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 14137 total (51 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]

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.)