microlens-contra: True folds and getters for microlens
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- [option-o2] 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
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, though.
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.
Properties
Versions | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.3 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.5 && <5), contravariant (>=1.3 && <2), microlens (>=0.4 && <0.5) [details] |
License | BSD-3-Clause |
Author | Edward Kmett, Artyom Kazak |
Maintainer | Steven Fontanella <steven.fontanella@gmail.com> |
Category | Data, Lenses |
Home page | http://github.com/stevenfontanella/microlens |
Bug tracker | http://github.com/stevenfontanella/microlens/issues |
Source repo | head: git clone https://github.com/stevenfontanella/microlens.git |
Uploaded | by stevenfontanella at 2024-12-17T04:30:33Z |
Modules
[Index] [Quick Jump]
- Lens
- Micro
Downloads
- microlens-contra-0.1.0.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees