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

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
Change log CHANGELOG.md
Dependencies base (>=4 && <5), mtl (>=2.1), template-haskell (<2.17) [details]
License MIT
Author Roman Cheplyaka
Maintainer roma@ro-che.info
Revised Revision 1 made by Bodigrim at 2022-08-17T18:45:50Z
Category Data, Lenses
Home page https://github.com/feuerbach/data-lens-light
Source repo head: git clone https://github.com/feuerbach/data-lens-light.git
Uploaded by RomanCheplyaka at 2016-05-26T14:40:26Z
Distributions LTSHaskell:0.1.2.3, NixOS:0.1.2.3, Stackage:0.1.2.3
Downloads 14116 total (51 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-05-26 [all 1 reports]

Readme for data-lens-light-0.1.2.2

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