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