lua-users home
lua-l archive

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


On 19/05/2010, at 6:51 AM, Luiz Henrique de Figueiredo wrote:

> - order tag methods follow the same rules of other binary operators

Thank you.  I see that the results of the relational metamethods are still coerced to boolean, and that "==" hasn't had the same treatment.  Would it be possible for all three relational operators to work like the other binary operators? (comparing mixed types as lt and le now do, and not coercing return values to boolean)

I know Roberto had good reasons to not go further last time I asked, but I figure it can't hurt to keep trying!

Cheers,
Geoff