> This RFC proposes that the existing C<..> operator produce a lazily
> evaluated list. In addition, a new operation C<:> is proposed that allows
> for the generation of lazily evaluated lists based on any Perl expression.

Llama 2nd ed. calls ? the "lazy operator" w/in regexes, in my lazy propsal
RFC 123 I thought it might like to escape



> 
> As before, $start is required (but need not be an integer). &gen takes one
> parameter, which is the value of the previous element. For example:
> 
>   @first5PowersOf2 = (1..sub {$_[0]*2}:5);   # (1,2,4,8,16)


What if the number of the array we're on is in a special C<$n> (like
the special C<$a> and C<$b> in C<sort> rather than in C<$_[0]> ? It
just seems we might want to inherit the surrounding @_ in these cases.

-- 
                          David Nicol 816.235.1187 [EMAIL PROTECTED]
                                       Damian Conway for president

Reply via email to