data-lens-light: Simple lenses, minimum dependencies

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


[Index] [Quick Jump]


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

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1,,, 0.1.1, 0.1.2,,,,
Change log
Dependencies base (>=4 && <5), mtl (>=2.1), template-haskell (<2.21) [details]
License MIT
Author Roman Cheplyaka
Revised Revision 1 made by AndreasAbel at 2023-08-01T14:24:56Z
Category Data, Lenses
Home page
Source repo head: git clone
Uploaded by srk at 2021-06-22T12:46:04Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 11 direct, 51 indirect [details]
Downloads 15045 total (61 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-06-22 [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.)