The latest version of microlens-contra is 0.1.0.3-1.
microlens-contra
Version 0.1.0.2 revision 0 uploaded by Artyom.
Package meta
- Synopsis
- True folds and getters for microlens
- Description
This package provides
Fold
andGetter
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
andSimpleFold
is that you can use e.g.takingWhile
/droppingWhile
andbackwards
on the former but not on the latter. Most functions from lens that work withFold
would work withSimpleFold
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.
- Author
- Edward Kmett, Artyom Kazak
- Bug reports
- http://github.com/monadfix/microlens/issues
- Category
- Data, Lenses
- Copyright
- n/a
- Homepage
- http://github.com/monadfix/microlens
- Maintainer
- Monadfix <hi@monadfix.io>
- Package URL
- n/a
- Stability
- n/a