lua-users home
lua-l archive

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

On Thu, Nov 10, 2011 at 9:34 AM, Michael Richter <> wrote:
> On 10 November 2011 16:45, HyperHacker <> wrote:
>> Tables and hashes aren't easily comparable.
> They are if you provide the metatable with comparison operators.

The comparison metamethods are only consulted if both values are of
the same basic type, so even with those you cannot make a table == a