tracks/perl6/exercises/anagram/Example.pm6 in trackler-2.2.1.95 vs tracks/perl6/exercises/anagram/Example.pm6 in trackler-2.2.1.96
- old
+ new
@@ -1,5 +1,5 @@
-unit module Anagram:ver<2>;
+unit module Anagram:ver<3>;
sub match-anagrams ( :$subject!, :@candidates! ) is export {
given $subject.uc -> $ucs {
@candidates.grep: { given .uc {$_ ne $ucs && .comb ~~ $ucs.comb.Bag} }
}