generic-lens: Generically derive traversals, lenses and prisms.
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.
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
.
Properties
Versions | 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.2.2.0 |
---|---|
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] |
License | BSD-3-Clause |
Author | Csongor Kiss |
Maintainer | kiss.csongor.kiss@gmail.com |
Category | Generics, Records, Lens |
Home page | https://github.com/kcsongor/generic-lens |
Uploaded | by kcsongor at 2023-04-15T15:02:05Z |
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.2.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees