Re: Custom iterators
by Michael G Schwern other posts by this author
Sep 25 2001 2:49AM messages near this date
Re: Custom iterators
|
Should try work on use?
On Mon, Sep 24, 2001 at 10:38:44PM -0400, Bryan C. Warnock wrote:
> 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()?
Oh, you mean Damian's RFC 31? I wasn't aware of it. No, this is
something completely different, I just happened to pick the same name.
We can change that, yield() isn't such a hot name to begin with for
this anyway. iterate()?
--
Michael G. Schwern <schwern@[...].com> http://www.pobox.com/~schwern/
Perl6 Quality Assurance <perl-qa@[...].org> Kwalitee Is Job One
Let me check my notes.
http://www.sluggy.com
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
|