|
Sean Conner <sean@conman.org> writes:It's actually pretty useful, because it allows a nice syntax for
>> Given an array, produce a "set". local s={}; for _,v in ipairs(a) do
>> s[v]=true done end return s.
>
> I don't see the reason for this. The only two values that evaluate to
> false are false and nil.
writing fast table-based predicates.