The microlens-contra package

[Tags:bsd3, library]

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.


Change log
Dependencies base (>=4.5 && <5), contravariant (>=1.3 && <2), microlens (==0.4.*) [details]
License BSD3
Author Edward Kmett, Artyom
Maintainer Artyom <>
Category Data, Lenses
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Fri Apr 8 19:40:24 UTC 2016 by Artyom
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 155 total (12 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2016-04-08 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees