[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: '__iter', yet again!
- From: Mark Hamburg <mark@...>
- Date: Wed, 16 Dec 2009 13:21:07 -0800
The argument against:
It changes the semantics of the generic for loop from taking an iterator to taking an iterator or an iterator factory.
The factory is distinctly one step removed from an iterator and hence is not analogous to a table pretending to be a function (__call) or a table pretending to be a number (__add).
Mark
- References:
- Re: '__iter', yet again!, Jerome Vuarand
- Re: '__iter', yet again!, Luiz Henrique de Figueiredo
- Re: '__iter', yet again!, steve donovan
- Re: '__iter', yet again!, Javier Guerra
- Re: '__iter', yet again!, Mark Hamburg
- Re: '__iter', yet again!, Cosmin Apreutesei
- Re: '__iter', yet again!, Petite Abeille
- Re: '__iter', yet again!, Cosmin Apreutesei
- Re: '__iter', yet again!, Petite Abeille