On Wed, Dec 03, 2008 at 12:59:36PM -0800, Carl Mäsak wrote: > <masak> perl6: my @a = 0 xx 4; @a[0] = 42; say @a.perl > <p6eval> rakudo 33460: OUTPUT[[42, 42, 42, 42]] > <p6eval> ..pugs: OUTPUT[\(42, 0, 0, 0)] > <p6eval> ..elf 24144: OUTPUT[[42,0,0,0]] > <moritz_> jnthn: right > <jnthn> masak: Oooh, that's a good one! > <masak> who's right, elf/pugs or rakudo? > <jnthn> I vote elf. > * masak files rakudobug > <jnthn> Oh, Pugs isn't so wrong either.
For the record, I think this is more an example of improper list to array conversion than a problem of infix:<xx> itself. I'm working on array conversion now. Pm