generic-lens: Generically derive traversals, lenses and prisms.
This library uses GHC.Generics to derive efficient optics (traversals, lenses and prisms) for algebraic data types in a type-directed way, with a focus on good type inference and error messages when possible.
The library exposes a van Laarhoven interface. For an alternative interface, supporting an opaque optic type, see
generic-optics.
Modules
[Index] [Quick Jump]
- Data
- Generics
- Internal
- Data.Generics.Internal.VL
- Data.Generics.Internal.VL.Iso
- Data.Generics.Internal.VL.Lens
- Data.Generics.Internal.VL.Prism
- Data.Generics.Internal.VL
- Data.Generics.Labels
- Data.Generics.Product
- Data.Generics.Sum
- Data.Generics.Wrapped
- Internal
- Generics
Downloads
- generic-lens-2.2.1.0.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.2.0.0, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.4.0.1, 0.4.1.0, 0.5.0.0, 0.5.1.0, 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.1.0.0, 1.2.0.0, 1.2.0.1, 2.0.0.0, 2.1.0.0, 2.2.0.0, 2.2.1.0, 2.2.2.0, 2.3.0.0 (info) |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | base (>=4.11 && <5), generic-lens-core (==2.2.1.0), profunctors, text (>=1.2 && <1.3 || >=2.0 && <2.1) [details] |
| Tested with | ghc ==8.4.1, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.3, ghc ==9.0.1, ghc ==9.2.1 |
| License | BSD-3-Clause |
| Author | Csongor Kiss |
| Maintainer | kiss.csongor.kiss@gmail.com |
| Uploaded | by kcsongor at 2022-01-22T22:53:12Z |
| Revised | Revision 1 made by Bodigrim at 2022-05-08T17:09:24Z |
| Category | Generics, Records, Lens |
| Home page | https://github.com/kcsongor/generic-lens |
| Distributions | Arch:2.2.2.0, Debian:2.0.0.0, LTSHaskell:2.2.2.0, NixOS:2.2.2.0, Stackage:2.3.0.0 |
| Reverse Dependencies | 94 direct, 106 indirect [details] |
| Downloads | 34545 total (84 in the last 30 days) |
| Rating | 2.75 (votes: 7) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2022-01-22 [all 1 reports] |