Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 308 Bytes

chain.md

File metadata and controls

18 lines (14 loc) · 308 Bytes

coerce.chain

Applies a chain of lenses to an input value.

coerce.chain: [Lens] -> Lens

This lens simply takes a list of sublenses and apply them in order (functional composition). It is mostly implicit when using .yaml files and is used for constructions like this:

lenses:
- ...
- ...