lua-users home
lua-l archive

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

2010/1/12 Roberto Ierusalimschy <>
> I may gave missed it, what is the reasoning of > -
> '__pairs'/'__ipairs' metamethod over __next? Is __next viewed as the
> "raw" iterator?


-- Roberto

I urge you to consider my proposal for __next (see mailing list post with subject " __pairs isn't what we need" )

If you are against a __next though, a way for C to respect proxy tables is very much required. Not sure how you would solve this, as there is no lua_pairs...