Hacker News new | ask | show | jobs
by jkachmar 2086 days 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.