Re: Custom iterators
by Bryan C. Warnock other posts by this author
Sep 25 2001 2:38AM messages near this date
RE: Custom iterators
|
Re: Custom iterators
On Monday 24 September 2001 09:58 pm, Michael G Schwern wrote:
> yield() [2] simply says "run the block associated with this method
> once". Similar to the $block->() call, but since it's not a full
> subroutine call, just a block enter/exit (like a normal iteration
> through a loop) there's two important differences.
A particular case of, or independent from, co-routines' yield()?
> In fact, I'd go so far as to say junk the current meaning of the &
> prototype, which has never really lived up to it's promises, ...
Bingo.
--
Bryan C. Warnock
bwarnock@[...].net
Thread:
Michael G Schwern
Piers Cawley
Michael G Schwern
Bart Lateur
Michael G Schwern
Bart Lateur
Michael G Schwern
Uri Guttman
Michael G Schwern
Brent Dax
Bryan C. Warnock
Michael G Schwern
|