> On Jul 10, 2019, at 12:17 PM, Marc Chantreux <e...@phear.org> wrote: —snip-- > my @rounds = > gather for ^@players -> \p > { take @players[p,$_] for p^..^@players }; Cool. Yet another way to do it: my @rounds = @players.kv.map: -> \k1, \p1 { |@players.skip(1 + k1).map: -> \p2 { p1, p2 } } I mention it because I had not though to use .skip for this purpose until today. > thank you very much. You are very welcome. — Bruce Gray (Util of PerlMonks)
- [golf?] list of matches Marc Chantreux
- Re: [golf?] list of matches Laurent Rosenfeld via perl6-users
- Re: [golf?] list of matches Marc Chantreux
- Re: [golf?] list of matches Laurent Rosenfeld via perl6-users
- Re: [golf?] list of matches Bruce Gray
- Re: [golf?] list of matches Marc Chantreux
- Re: [golf?] list of matches Bruce Gray