[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is there a reason why __eq, __lt, __le metamethods enforce returning booleans?
- From: Sean Conner <sean@...>
- Date: Mon, 17 Sep 2018 03:40:02 -0400
It was thus said that the Great Eike Decker once stated:
> Is there any particular reason why it is important to convert returned
> values that I don't see?
My guess is that it would horribly break table.sort() if those methods
return anything other than true/false.
-spc