Can we have:

  say 1..Inf;

to output an infinite stream, instead of just looping forever?

OTOH, it would be nice if

  say substr( ~(1..Inf), 0, 10 )

printed "1 2 3 4 5".

Flattened lists would still loop forever (or fail):

  say **(1..Inf);

  $s = substr( ~( **(1..Inf) ), 0, 10 );

- Flavio S. Glock

Reply via email to