microlens-contra

True folds and getters for microlens http://github.com/aelve/microlens

Version on this page:0.1.0.1
LTS Haskell 16.4:0.1.0.2
Stackage Nightly 2020-07-06:0.1.0.2
Latest on Hackage:0.1.0.2

See all snapshots microlens-contra appears in

BSD-3-Clause licensed by Edward Kmett, Artyom
Maintained by Artyom

Module documentation for 0.1.0.1

This version can be pinned in stack with:[email protected]:ff9a3dd8e88108beb4b35c2b92458935b7941ab871a023247e045c81dd905cbe,1686

This package provides Fold and Getter that are fully compatible with lens; the downside is that this package depends on contravariant, which in its turn depends on a lot of other packages (but still less than lens).

The difference between Fold and SimpleFold is that you can use e.g. takingWhile/droppingWhile and backwards on the former but not on the latter. Most functions from lens that work with Fold would work with SimpleFold as well, tho.

This package is a part of the microlens family; see the readme on Github.

Changes

0.1.0.1

  • Added forgotten copyright/authorship information.

0.1.0.0

Initial release.

Used by 1 package in lts-7.24(full list with versions):