This has nothing to do with physical optics if I understood it right? The blog post does use concepts such as lens and prism so I'm a bit confused.
birttAdenors•1h ago
This has to do with category theory and programming notions of optics and lenses.
kqr•58m ago
Correct. The term "optics" is used by analogy; functional optics let us "zoom in" on parts of a data structure, and "zoom out to" a data structure surrounding a value.
enugu•38m ago
This is a great way to present the concepts. Something like this would have been useful some years back when I was trying to use the Haskell library for lens.
cinntaile•1h ago
birttAdenors•1h ago
kqr•58m ago