Re: Lazy Arrays

2003-07-04 Thread Leopold Toetsch
Luke Palmer <[EMAIL PROTECTED]> wrote: > First, do these work well as pmcs, or should it be integrated with > PerlArray (I hope not)? It should subclass PerlArray. I think you don't need LazySequence. You can just set the exceptions to the lazy sequence in the PerlArray subclass. Array/PerlArray

Re: Lazy Arrays

2003-07-03 Thread Benjamin Goldberg
Luke Palmer wrote: > > I'd like to go about implementing [Perl]?LazyArray and LazySequence > pmcs, possibly with a TiedArray (and Infinity) in the interim. I have > a few semantic questions, but first, here's what I have in mind: > > LazySequence: Manages individual lazy sequences like 1..I

Lazy Arrays

2003-07-03 Thread Luke Palmer
I'd like to go about implementing [Perl]?LazyArray and LazySequence pmcs, possibly with a TiedArray (and Infinity) in the interim. I have a few semantic questions, but first, here's what I have in mind: LazySequence: Manages individual lazy sequences like 1..Inf (or even