News for hackers. Stuff that matters.
Re:Applied Category Theory Course by tome on Friday September 29, 2023 @02:32AM (#37700018)
> lenses solve a problem that no other language has

Indeed other languages don't have problems dealing with immutable collections since almost none have good immutable collections. All I can say is that, when working with other languages, I wish they did have that problem!

> most Haskell programs seem to me to be completely unreadable by anyone except the author

Interesting. That's the opposite of my experience. Haskell is pretty much the only language where I expect to be able to read code written by others ("others" including "myself a year ago").

Re:Applied Category Theory Course by dllthomas on Monday October 02, 2023 @12:50PM (#37740832)
Even where they lack the problem I find myself wanting lenses (or other optics) every couple months at a minimum.