[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Expression syntax
- From: Reuben Thomas <rrt1001@...>
- Date: Sat, 14 Oct 2000 15:04:43 +0100 (BST)
> Another point: the statement 'foo "a" "b"' is valid but
> gives non obvious results. I guess, most people will
> see that as 'foo("a","b")' but it is 'foo("a")("b")',
> that is the object returned by foo("a") is called as a
> function with argument "b". IMHO the first interpretation
> would be more intuitive and useful, especially when mixing
> strings and table constructors: 'create "foo" { x=1, y=2 }'.
I'd not want to see that changed: it's natural function composition order.
--
http://sc3d.org/rrt/ | wit, n. educated insolence (Aristotle)