Overview of fields.lens.syntax package members
The fields.lens.syntax package provides a set of traits and classes that define the DSL for lens operations. Key components include:
- Core DSLs:
GenericDsl,CoreDsl, andFieldsDslprovide the base syntax for lens interactions. - Error Handling DSLs:
FailFastDslandAccumulateDsl(along with their base classesBaseFailFastandBaseAccumulate) manage how errors are processed during lens operations. - Collection-Specific Syntax:
IterableSyntaxandIterableDslfor working with iterable collections, includingIterableFieldOps.MapSyntaxandMapDslfor working with Map collections, includingMapFieldOps.OptionSyntaxandOptionDslfor handling optional fields.
- Policy Syntax:
LensPolicySyntaxfor configuring lens policies viaLensPolicyCompanionOps. - Utility: The
alltrait/object provides a combined entry point for the syntax extensions.