3 ms·
Maybe it’s too early in the morning but - I don’t get it. Is the point of this artistic? Just for fun? Or is this useful somehow? What does visually representin
by mock-possum 1y ago
Maybe it’s too early in the morning but - I don’t get it. Is the point of this artistic? Just for fun? Or is this useful somehow? What does visually representing types and values as ‘optics’ that can be sliced vertically and horizontally ‘do’ for us?
- marcosh 1y agoOptics are well-known in the real of functional programming for being hard to understand and manage. This is mostly due to complexities in implementation details. Try to take a look at https://hackage.haskell.org/package/lens https://hackage.haskell.org/package/lens to see what I mean. The point of the article was to try to explain them in simple terms through a graphical notation, so that they become more accessible and manageable by more people.