[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Slight discrepency in the documentation for
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 7 Feb 2007 21:23:31 -0200
> next -> function: 00324328
> pairs{} -> function: 00324FD8 table: 0032F7A8 nil
That 00324328 is not the same as 00324FD8 does not mean that they're
not the same C function. In fact, they are; more precisely they're just
different (but equivalent) closures of the same C function.
> This patch both the advantage and the disadvantage that if the value
> of 'next' is changed, then pairs(t) will see that change.
This may or may not be the right thing or even a good thing: if you mess 'next'
up, should pairs stop working?
--lhf