From: Pit Capitain Date: 2003-03-24T16:29:43+09:00 Subject: Re: Iteration styles (was Ruby lecture slides) On 24 Mar 2003 at 14:10, Hal E. Fulton wrote: > That's fascinating. Could this be generalized to the point that > given an object and its external iterator, we could just mix in > a module to give us an external iterator? > > If so, I think this would be a worthwhile thing indeed. In fact, > though it might be only 20 lines long or so, I would say it belongs > in the RAA (if not in the core). There are several examples in the mailing list archive as well as in CVS (look in rough for generators or so). Regards, Pit