[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Quae Quack <quae@...>
- Date: Tue, 12 Jan 2010 02:34:12 +1100
2010/1/12 Roberto Ierusalimschy <email@example.com>
> I may gave missed it, what is the reasoning of > -Yes.
> '__pairs'/'__ipairs' metamethod over __next? Is __next viewed as the
> "raw" iterator?
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...