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