Hi,
Andrew Savige wrote:
> In Pugs, you can process a simple list of lists like this:
>
> my @lol = ( [ '1a', '1b' ], [ '2a', '2b' ], [ '3a', '3b' ] );
> for @lol -> $t { say "1st='$t[0]' 2nd='$t[1]'" }
>
> Yet the $t[0] and $t[1] look untidy to me, so I'd prefer to specify
> that the for closur
Flattening argument lists is not yet working in Pugs, so I can't easily play
around with this one, hence this question.
In Pugs, you can process a simple list of lists like this:
my @lol = ( [ '1a', '1b' ], [ '2a', '2b' ], [ '3a', '3b' ] );
for @lol -> $t { say "1st='$t[0]' 2nd='$t[1]'" }
Yet th