You can find more historical references at github.com/ekmett/lens/wi…


reverseGet . get ≅ id



Another useful type of optics – `Fold`. It allows, given a Monoid for the data type `M`, to fold (reduce) its value into type `M`:



Let's use the same data structure and example data set as in previous example:

However, it's not an entry-level work, so be prepared for complicated categorical topics like profunctor, adjoints and Tambara modules.