[Haskell-beginners] Possible to update Haskell syntax

Tillmann Rendel rendel at daimi.au.dk
Tue Nov 25 06:10:06 EST 2008


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


More information about the Beginners mailing list