lua-users home
lua-l archive

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


On Sat, May 22, 2010 at 11:48 AM, Jonathan Castello <twisolar@gmail.com> wrote:
> Could we perhaps return to "for k,v in t do", and have the generic-for
> use the __pairs metamethod of its target as the iterator factory? If
> no __pairs exists, default to next().

For posterity, I meant "default to pairs()".

~Jonathan