ie:
Rectangle = {
function IsSquare()
return @width == @height
end
}
but I don't think the authors like such amounts of sugar with their language
;).
Is it possible that 5.2 could allow syntax like:
table={
function hello(self)
doStuff(self)
end,
hi=6
}