aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark <53903062+andemark@users.noreply.github.com>2023-03-06 10:29:02 +0000
committerMark <53903062+andemark@users.noreply.github.com>2023-03-06 10:29:02 +0000
commit299ccd70e466a89c89980e77d01abcd19e0cedd8 (patch)
tree7226a1477c9d1424390eb1d402072e246b8fa3bc
parentebebdc959141caca7cec4b4d6c374c6e90a575ca (diff)
downloadperlweeklychallenge-club-299ccd70e466a89c89980e77d01abcd19e0cedd8.tar.gz
perlweeklychallenge-club-299ccd70e466a89c89980e77d01abcd19e0cedd8.tar.bz2
perlweeklychallenge-club-299ccd70e466a89c89980e77d01abcd19e0cedd8.zip
Challenge 207 Solutions (Raku)
-rw-r--r--challenge-207/mark-anderson/raku/ch-1.raku8
1 files changed, 4 insertions, 4 deletions
diff --git a/challenge-207/mark-anderson/raku/ch-1.raku b/challenge-207/mark-anderson/raku/ch-1.raku
index de15caf680..d226573ccc 100644
--- a/challenge-207/mark-anderson/raku/ch-1.raku
+++ b/challenge-207/mark-anderson/raku/ch-1.raku
@@ -1,11 +1,11 @@
#!/usr/bin/env raku
use Test;
-is-deeply keyboard-word(< Hello Alaska Dad Peace >), < Alaska Dad >;
-is-deeply keyboard-word(< OMG Bye >), < >;
-is-deeply keyboard-word(< BBC CNN OAN >), < BBC CNN >;
+is-deeply keyboard-word(< Hello Alaska Dad Peace >), < Alaska Dad >;
+is-deeply keyboard-word(< OMG Bye >), < >;
+is-deeply keyboard-word(< BBC CNN OAN >), < BBC CNN >;
sub keyboard-word(@a)
{
- @a.grep({ .lc.comb.cache (<=) any < qwertyuiop asdfghjkl zxcvbnm >>>.comb })
+ @a.grep({ .lc.comb.cache (<) any < qwertyuiop asdfghjkl zxcvbnm >>>.comb })
}