[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Easier function declaration in tables for 5.2?
- From: Norman Ramsey <nr@...>
- Date: Sun, 31 Jan 2010 13:14:54 -0500
> Is it possible that 5.2 could allow syntax like:
>
> table={
> function hello(self)
> doStuff(self)
> end,
> hi=6
> }
While this syntax might be slightly better than
table={
hello = function(self)
doStuff(self)
end,
hi=6
}
I don't see it as *enough* better to be worth adding extra syntax.
Norman (resisting the impulse to indent table members)