|
|
|
|
|
by randcraw
3499 days ago
|
|
Except in these two brief examples, Haskell employs syntactic sugar with hidden semantics that nobody but an acolyte would understand (periods and two kinds of brackets mean what?). At least the Lisp scoping here is explicit and employs minimal abstruse sugar. I'll admit Lisp's myriad nesting of brackets is not ideal either. But surely there are more elegant and intuitive notations for functional scoping than is seen here. |
|
Admittedly, it might be written with $ in practice, but that's a fairly simple idiom, and I tend to avoid it.