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

Version on this page:
LTS Haskell 8.20:
Stackage Nightly 2017-06-26:
Latest on Hackage:
BSD3 licensed by Edward Kmett, Artyom
Maintained by Artyom

Module documentation for

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.


  • Added forgotten copyright/authorship information.

Initial release.

Used by 2 packages:
comments powered byDisqus