Anonymous user
Bacon cipher: Difference between revisions
→Raku: .. use bound sub-array instead of addressing list of 1-char lists .[0] hack; and minor changes
(Added Quackery.) |
(→Raku: .. use bound sub-array instead of addressing list of 1-char lists .[0] hack; and minor changes) |
||
Line 2,310:
sub bacon ($s, $msg) {
my
my
for $msg.lc.comb Z
for @a.kv -> $i, $c-str {
(my $x := @a[$i]) = $x.uc if %bacon{$c-msg}.comb[
} }
}
|