lens-4.4: Lenses, Folds and Traversals

Portabilitynon-portable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellNone

Control.Lens.Internal.FieldTH

Description

 

Synopsis

Documentation

data DefName Source

Name to give to generated field optics.

Constructors

TopName Name

Simple top-level definiton name

MethodName Name Name

makeFields-style class name and method name

makeFieldOptics :: LensRules -> Name -> DecsQSource

Compute the field optics for the type identified by the given type name. Lenses will be computed when possible, Traversals otherwise.