Proposal for implementing lazy lists and arrays in Rakudo

2010-05-04 Thread Moritz Lenz
Hi, the proposal below tries to solve the following problems: 1) Lists should in general be lazy 2) There are cases when listy data structures shouldn't have to remember all their values. A statement like for 1..1e6 { .say } should *not* store 1 million integers anywhere, any time 3) Other

Re: lists and arrays

2004-04-10 Thread Scott Walters
ed behaviors > for these two. It has been implied that they return $arrayref.length > and $arrayref.string (or whatever those methods are called). Maybe. > On 0, Juerd <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm lost. I read some Perl 6 related things and think

lists and arrays

2004-04-09 Thread Juerd
Hi, I'm lost. I read some Perl 6 related things and think I missed an important announcement. What is a list reference? It is as if lists and arrays are the same thing in Perl 6, but other documents use the words as they are used in Perl 5. So I guess my actual questions are: What is an