lua-users home
lua-l archive

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


On Mon, May 13, 2013 at 11:38 AM, Philipp Janda <siffiejoe@gmx.net> wrote:
I'd rather see extra parameters to the __index metamethod for the following case:
    local v = matrix[ 1, 2 ]

It's been discussed ;)  Cool, unless it slows down the common case too much.

As for the very useful distinction between method and field lookup, see

http://lua-users.org/lists/lua-l/2009-11/msg00715.html