lua-users home
lua-l archive

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


> Also just out of curiosity, what is the reason for using two arguments
> in a metamethod that only needs one? Or to put it another way: Is
> there a cool feature that this provides that I'm missing out on? :)

You are not missing anything. This is only a hack. By adding this extra
argument we can use for these metamethods the same machinery already in
place for all other binary metamethods :)

-- Roberto