http://qs321.pair.com?node_id=463363


in reply to Re: Perl6 Contest #2: P6 That Doesn't Look Like P5
in thread Perl6 Contest #2: P6 That Doesn't Look Like P5

If you have your trusty zipwith available:

sub zipwith ( Code $with, *@lists ) { gather { while any( @lists ) { take $with.( @lists>>.shift ); } } }
then you can change that zip line to:
zipwith( { $^a[ $^i ] }, @loop, @pos );