[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: fun with table constructors
- From: Reuben Thomas <rrt1001@...>
- Date: Tue, 30 Jan 2001 11:23:49 +0000 (GMT)
On Tue, 30 Jan 2001, Roberto Ierusalimschy wrote:
> > You have to write plus(3), and then can't apply the result directly to 4
> You can, as long as you use the parentheses: plus(3)(4) is legal syntax.
Oh, goody. I got confused, because I tried writing:
and this seems to be illegal (which is a little counter-intuitive: adding
extra brackets shouldn't matter).
http://sc3d.org/rrt/ | humour, n. unexpected recognition