
25 Nov
2008
25 Nov
'08
6:10 a.m.
cm wrote:
In this ideal world, another example would be that [(fun1 3 4) 7] would be a valid expression and be a two-element list equivalent to [fun1 3 4, 7].
But [(fun1 1 3 4) 7] already is a valid expression, equivalent to [(fun1 1 3 4 7)] and [fun1 1 3 4 7]. The "whitespace operator" can have only one meaning. Haskell, being a functional language, makes function application as easy as possible. Lisp, being a list processing language, makes construction of lists as easy as possible. Tillmann