4 ms·
IMO there are many nice things about Haskell, but simplicity is not one of them. It's very consciously a "big" language, rather than a "small" one. As others ha
by cousin_it 11y ago
IMO there are many nice things about Haskell, but simplicity is not one of them. It's very consciously a "big" language, rather than a "small" one. As others have mentioned, you can declare your own operators with custom precedence. And don't forget the whitespace rules either. Lennart Augustsson, implementor of at least one Haskell compiler, has said this at some point:
Implementing exactly Haskell's rule for indentation is incredibly hard. In fact, no known Haskell compiler gets it right.
https://mail.haskell.org/pipermail/haskell-cafe/2009-April/060657.html https://mail.haskell.org/pipermail/haskell-cafe/2009-April/0...