3 ms·
It definitely can feel a bit strained at times, but the basic metaphor of: - lenses “focus” on elements of a product type - prisms “split” a sum type so that
by jkachmar 6y ago
It definitely can feel a bit strained at times, but the basic metaphor of:
- lenses “focus” on elements of a product type
- prisms “split” a sum type so that optics can work over selected branches
...feels nice when you’ve been working with it for awhile.