data-lens-light

Simple lenses, minimum dependencies

https://github.com/feuerbach/data-lens-light

Version on this page:0.1.2.3@rev:1
LTS Haskell 24.2:0.1.2.4
Stackage Nightly 2025-08-02:0.1.2.4
Latest on Hackage:0.1.2.4

See all snapshots data-lens-light appears in

MIT licensed by Roman Cheplyaka
Maintained by [email protected]
This version can be pinned in stack with:data-lens-light-0.1.2.3@sha256:44aa407d379dc3fcfd653964ef3b1a0db3a5025992ffbe128de5591b34418001,1035

Module documentation for 0.1.2.3

Used by 2 packages in lts-21.6(full list with versions):

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

Changes

Changes

Version 0.1.2.3

Fix build with ghc 9

Version 0.1.2.2

Fix build with ghc 8

Version 0.1.2.1

Relax the lower bound on base

Version 0.1.2

Add vanLaarhoven

Version 0.1.1

Add zoom

Version 0.1.0.2

Add support for mtl 2.1

Version 0.1.0.1

Upgrade to mtl 2.2