Re:Haskell Lens Tutorial by Exercises
by vintermann on Tuesday December 06, 2022 @07:44AM
(#33878773)
One of the bad things about having mathematicians design your language.
[ Parent
| on HN ]
I take your point, but this is not a language design problem -- it's a library design problem. These are just function names.
Re:Haskell Lens Tutorial by Exercises
by vintermann on Tuesday December 06, 2022 @08:50AM
(#33879665)
I kind of see idioms like lenses as part of the language.
But the language allows defining your own (infix) operators, so the core language designers weren't entirely innocent either. The abundance of custom operators in Haskell kind of made me appreciate Lisp and Forth a little more!
There are of course many good things about having your language designed by mathematicians, too.
Re:Haskell Lens Tutorial by Exercises
by anentropic on Tuesday December 06, 2022 @09:12AM
(#33880037)
it's a culture problem, the library is like this because that's the culture of the language
Re:Haskell Lens Tutorial by Exercises
by whateveracct on Tuesday December 06, 2022 @11:33AM
(#33882727)
It's not a culture problem it's just culture. Just because you don't like it doesn't mean Haskell is wrong lol.