Package0.1LensOpticsGenerics
generic-optics-lite
Monomorphic field opics like with generic-lens
- Version0.1
- CategoryLens, Optics, Generics
- LicenceBSD-3-Clause
- AuthorEdward Kmett, Csongor Kiss, Oleg Grenrus
- MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
- Homepagegithub.com/phadej/generic-lens-lite
- Pinned byhackage generic-optics-lite 0.1
- Sourcehackage.haskell.org/package/generic-optics-lite-0.1
Modules
1 module- Data.Generics.Optics.Lite2Derive record field lenses generically. Usage with labels in Optics.Label Optics.Label provides LabelOptic class which powers
Description
Derivation of (monomorphic, i.e. not type-changing) lens, like generic-lens.
The package have minimal dependencies and minimal API:
class HasField (name :: Symbol) r a | name r -> a field :: HasField name r a => Lens' r a
Depends on
3 packages- base-4.20.2.0with GHC
- generic-lens-lite-0.1in this set
- optics-core-0.4.1.1in this set
Used by in this set · 0
Nothing in this set depends on it.