lua-users home
lua-l archive

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

> for v in set:values() do ... end
> But the need for that empty parenthesis still rankles ...

One important reason for not having "set:values" is that it'd be sugar
for "function (...) return set:values(...) end" and this would imply
the creation of a hidden closure.