lua-users home
lua-l archive

Easier function declaration in tables for 5.2?

[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
}
or even:
table={
 function :hello()
 doStuff(self)
 end,
hi=6
}
That would be very useful.

AltStyle によって変換されたページ (->オリジナル) /