microlens-contra: True folds and getters for microlens

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

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.

Starting from GHC 8.6, this package doesn't depend on contravariant anymore.

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

Versions [faq],,
Change log CHANGELOG.md
Dependencies base (>=4.5 && <5), contravariant (>=1.3 && <2), microlens (==0.4.*) [details]
License BSD-3-Clause
Author Edward Kmett, Artyom Kazak
Maintainer Monadfix <hi@monadfix.io>
Category Data, Lenses
Home page http://github.com/monadfix/microlens
Bug tracker http://github.com/monadfix/microlens/issues
Source repo head: git clone git://github.com/monadfix/microlens.git
Uploaded by Artyom at Mon Oct 1 13:33:10 UTC 2018
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 748 total (34 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-10-01 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees