|
|
|
|
|
by waqf
5347 days ago
|
|
There are plenty of things to criticize in the Haskell syntax rules — they're hard to get used to and they're not so beneficial that the learning curve seems worthwhile — but parsing isn't as ambiguous as it seems at first. When you see a sequence of identifiers separated by spaces, the first one has to be a function accepting all the others as arguments. It's different (and complicated to explain) if there are newlines involved, though. Haskell isn't a whitespace-insensitive language. |
|