Some have been frustrated at the fact that after

        @ott = (1,2,3);
        $x = @ott

$x == 3.

What if one of the things that lazy arrays did differently from
normal arrays was shifting on assignment, instead of counting
themselves?

This would solve several problems at once, including:

        possible infinite loops from countint infinite arrays

        "lazy array" would be a suitable type for an lvalue subroutine
to return, since an assignment of an array to it would fill the first
n positions.


-- 
                          David Nicol 816.235.1187 [EMAIL PROTECTED]

Reply via email to