News for hackers. Stuff that matters.
Re:What I Wish I Knew When Learning Haskell by skimpycompiler on Saturday September 12, 2015 @07:02PM (#10209688)
This is not true, unlike C++, Haskell's syntax is enormously clean and easy to parse.

It's in no way comparable to learning math notation or music notation.

Re:What I Wish I Knew When Learning Haskell by cousin_it on Saturday September 12, 2015 @09:52PM (#10210066)
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/0...

Re:What I Wish I Knew When Learning Haskell by pdpi on Saturday September 12, 2015 @07:54PM (#10209818)
> easy to parse

There's a few things, like fixity declarations, that make parsing Haskell not quite as easy as it could be.

Re:What I Wish I Knew When Learning Haskell by bsummer4 on Saturday September 12, 2015 @07:48PM (#10209799)
Yeah, this is a good point. Both math and music have extremely ad-hoc and inconsistent syntax.