Re: Iterators and Laziness

2008-11-28 Thread Daniel Ruoso
Timothy S. Nelson wrote: Should laziness/eagerness be a property of the operator? I'm inclined to believe that the level of lazyness or eagerness is determined by the operators in question, at least that had worked for assignment and feeds, I can't think of a case where something else determines

Re: Iterators and Laziness

2008-11-28 Thread Daniel Ruoso
Sex, 2008-11-28 às 14:23 -0300, Daniel Ruoso escreveu: You write: my $item = =$foo; Does that get one item from the iterator object? It depends on the iterator in question, but it certainly gets something (unless the iterator is over, of course), I'm thinking on the following: I thought it

Iterators and Laziness

2008-11-27 Thread Timothy S. Nelson
No doubt some of you have seen the Draft S07-iterators, but for those who haven't: http://svn.pugscode.org/pugs/docs/Perl6/Spec/S07-iterators.pod I have some questions here (mostly directed to Daniel Ruoso, but others can feel free to chip in if they have thoughts). Should