microlens-contra: True folds and getters for microlens
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.
Downloads
- microlens-contra-0.1.0.3.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.5 && <5), contravariant (>=1.3 && <2), microlens (>=0.4 && <0.5) [details] |
Tested with | ghc ==9.8.1, ghc ==9.6.3, ghc ==9.4.7, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2, ghc ==7.10.3 |
License | BSD-3-Clause |
Author | Edward Kmett, Artyom Kazak |
Maintainer | Steven Fontanella <steven.fontanella@gmail.com> |
Revised | Revision 1 made by AndreasAbel at 2023-10-11T19:28:16Z |
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 2022-12-14T05:19:46Z |
Distributions | LTSHaskell:0.1.0.3, NixOS:0.1.0.3, Stackage:0.1.0.3 |
Reverse Dependencies | 3 direct, 2 indirect [details] |
Downloads | 3033 total (17 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2022-12-14 [all 1 reports] |