my @filtered = gather for $s.comb -> $a, $b { take [ $a, $b ] if $a ne $b; }