From 9e8b32d226c1dbb2e84ff58264d0763afb1ec881 Mon Sep 17 00:00:00 2001 From: "Markus \"Holli\" Holzer" Date: Sat, 8 Feb 2020 07:04:01 +0100 Subject: Nicer syntax --- challenge-046/markus-holzer/raku/ch-1.p6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenge-046/markus-holzer/raku/ch-1.p6 b/challenge-046/markus-holzer/raku/ch-1.p6 index 7199005c6e..2cc9eca2ca 100644 --- a/challenge-046/markus-holzer/raku/ch-1.p6 +++ b/challenge-046/markus-holzer/raku/ch-1.p6 @@ -12,7 +12,7 @@ say decrypt( $message ); sub decrypt( $encrypted ) { - join '', zip( + [~] zip( $encrypted.lines.map({ .split(/ \s /) }) ).map({ .Bag.first({ .value > 1 }).key -- cgit