"Abhijit A. Mahabal" <[EMAIL PROTECTED]> writes:
> There is another problem beyond efficiency: the P6 list semantics is lazy.
>
> The following is valid P6, AFAIK:
>
> for 1 .. Inf {
> print $_;
> last when 10;
> }
Yeah, but that's a foreach loop, despite the fact that "foreach" is
spelled
> "Abhijit A. Mahabal" <[EMAIL PROTECTED]> writes:
>
> > There is another problem beyond efficiency: the P6 list semantics is lazy.
> >
> > The following is valid P6, AFAIK:
> >
> > for 1 .. Inf {
> > print $_;
> > last when 10;
> > }
>
> Yeah, but that's a foreach loop, despite the fact th