As of (2017.11, HEAD(5929887)) it errors out: Code: say (1..*)[1, 3 … *]
Result: Cannot .elems a lazy list in block <unit> at -e line 1 Is the intention of the OP that it should work? I don't think so. On 2015-08-27 06:01:23, coke wrote: > On Sun Feb 08 22:55:34 2015, Mouq wrote: > > Shouldn't it timeout, in this case? @a[0] is @a[1] is @a[3] is @a[7] > > is @a[5]… > > > > On Tue May 29 17:16:40 2012, diakopter wrote: > > > On Mon Feb 20 07:10:45 2012, moritz wrote: > > > > 16:06 < moritz> nom: my @a := 1..*; @a := @a[1, 3 ... *].list > > > > 16:06 <+p6eval> nom 4130f6: OUTPUT«Method 'gimme' not found for > > > invocant of > > > > class 'Range' in method postcircumfix:<[ ]> at > > > > src/gen/CORE.setting:1159 in block <anon> at > > > > /tmp/dJ08aEvIzI:1» > > > > > > > > Since ~~ Positional in Rakudo, I see no reason why this shouldn't > > > work, > > > > much less with such an obscure error message. > > > > > > now it times out. > > > > > > 19:16 <diakopter> r: my @a := 1..*; @a := @a[1, 3 ... *].list > > > 19:16 <p6eval> rakudo 024843: OUTPUT«(timeout)» > > Currently still times out in glr branch.