Package2.3.0.0GenericsRecordsLens
generic-lens-core
Generically derive traversals, lenses and prisms.
- Version2.3.0.0
- CategoryGenerics, Records, Lens
- LicenceBSD-3-Clause
- AuthorCsongor Kiss
- Maintainerkiss.csongor.kiss@gmail.com
- Homepagegithub.com/kcsongor/generic-lens
- Pinned byhackage generic-lens-core 2.3.0.0
- Sourcehackage.haskell.org/package/generic-lens-core-2.3.0.0
Modules
Internal modules · 24
- Data.GenericLens.InternalThe library internals are exposed through this module. Please keep
- Data.Generics.Internal.Errors
- Data.Generics.Internal.Families
- Data.Generics.Internal.Families.Changing
- Data.Generics.Internal.Families.Collect
- Data.Generics.Internal.Families.Has
- Data.Generics.Internal.GenericNGeneric representation of types with multiple parameters
- Data.Generics.Internal.Profunctor.IsoInternal lens helpers. Only exported for Haddock
- Data.Generics.Internal.Profunctor.LensInternal lens helpers. Only exported for Haddock
- Data.Generics.Internal.Profunctor.PrismInternal lens helpers. Only exported for Haddock
- Data.Generics.Internal.VL.TraversalInternal lens helpers. Only exported for Haddock
- Data.Generics.Internal.Void
- Data.Generics.Internal.Wrapped
- Data.Generics.Product.Internal.Fields
- Data.Generics.Product.Internal.GLensDerive record field getters and setters generically.
- Data.Generics.Product.Internal.HListDerive an isomorphism between a product type and a flat HList.
- Data.Generics.Product.Internal.Param
- Data.Generics.Product.Internal.PositionsDerive positional product type getters and setters generically.
- Data.Generics.Product.Internal.SubtypeStructural subtype relationships between product types.
- Data.Generics.Product.Internal.Typed
- Data.Generics.Product.Internal.Types
- Data.Generics.Sum.Internal.ConstructorsDerive constructor-name-based prisms generically.
- Data.Generics.Sum.Internal.SubtypeStructural subtype relationships between sum types.
- Data.Generics.Sum.Internal.TypedDerive constructor-field-type-based prisms generically.
Description
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.
This package is the shared internal logic of the generic-lens and generic-optics libraries.
Depends on
3 packages- base-4.23.0.0with GHC
- indexed-profunctors-0.1.1.1in this set
- text-2.1.4with GHC