4 ms·
What syntax? Haskell has just about the simplest syntax.
by zeckalpha 12y ago
What syntax? Haskell has just about the simplest syntax.
- gizmo686 12y agoBut it has some obscure function names that look alot like syntax. (eg. "$", ".", ">>=" etc)
- jeorgun 12y agoI think that's raart's point. The syntax is really simple and easy to pick up, so all the tutorials focusing mainly on syntax and paying less attention to actually, well, getting things done, do the language a disservice.
- johan_larson 12y agoIn nearly every mainstream programming language, you call a function like this: f(a, b, c) But not in Haskell, where you do it like this: f a b c Of course, there is a reason for doing things this way in Haskell, namely making currying a natural part of the language. If f is a function of three variables, f a b binds values to the first two parameters, yielding a function of one variable. But it's still a change and a bit of a hurdle.