lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


 > 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)