Description Usage Arguments Examples
Compose two lenses to produce a new lens which represents
focussing first with the first lens, then with the second.
A view using the resulting composite lens will first view using
the first, then the second, while an set will view via the first lens,
set into the resulting piece with the second, and then replace the
updated structure in the first with set. Lens composition
is analogous to the . syntax of object-oriented programming or to
a flipped version of function composition.
1 | l %.% m
|
l |
the first lens (or an oscope) |
m |
the second lens |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.