data-lens-light: Simple lenses, minimum dependencies

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

Modules

[Index]

Downloads

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

Candidates

Versions [RSS] 0.1, 0.1.0.1, 0.1.0.2, 0.1.1, 0.1.2, 0.1.2.1, 0.1.2.2, 0.1.2.3, 0.1.2.4
Change log CHANGELOG.md
Dependencies base (>=4 && <5), mtl (>=2.1), template-haskell (<2.11) [details]
License MIT
Author Roman Cheplyaka
Maintainer roma@ro-che.info
Revised Revision 1 made by Bodigrim at 2022-08-17T18:45:37Z
Category Data, Lenses
Home page https://github.com/feuerbach/data-lens-light
Uploaded by RomanCheplyaka at 2014-11-26T09:26:53Z
Distributions LTSHaskell:0.1.2.4, NixOS:0.1.2.4, Stackage:0.1.2.4
Reverse Dependencies 10 direct, 51 indirect [details]
Downloads 14932 total (61 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for data-lens-light-0.1.2.1

[back to package description]

data-lens-light

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