Sha256: 2e06e1c866cc47f5ffdd5429bfdedd01cafba29d6ed4b7bc4d55cbc480080eca
Contents?: true
Size: 458 Bytes
Versions: 78
Compression:
Stored size: 458 Bytes
Contents
exercise: Anagram version: 3 plan: 12 tests: |- cmp-ok match-anagrams( |%(.<input><subject candidates>:p) ), '~~', .<expected>.Set, .<description> for $c-data<cases>.values; unit: module example: |- sub match-anagrams ( :$subject!, :@candidates! ) is export { given $subject.uc -> $ucs { @candidates.grep: { given .uc {$_ ne $ucs && .comb ~~ $ucs.comb.Bag} } } } stub: |- sub match-anagrams (:$subject!, :@candidates!) is export { }
Version data entries
78 entries across 78 versions & 1 rubygems