From 1e3200d445f9dfed501541e9b52f6d8985af06f1 Mon Sep 17 00:00:00 2001 From: Mark Anderson Date: Mon, 1 Feb 2021 03:05:39 -0700 Subject: Challenge 98 Solutions (Raku) --- challenge-098/mark-anderson/raku/ch-2.raku | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenge-098/mark-anderson/raku/ch-2.raku b/challenge-098/mark-anderson/raku/ch-2.raku index 12bf7ec466..0840d339bd 100644 --- a/challenge-098/mark-anderson/raku/ch-2.raku +++ b/challenge-098/mark-anderson/raku/ch-2.raku @@ -7,7 +7,7 @@ is position(6, (1, 3, 5, 7)), 3; is position(10, (12, 14, 16, 18)), 0; is position(19, (11, 13, 15, 17)), 4; -multi position($N, @N) +sub position($N, @N) { (first * >= $N, :k, @N) // +@N; } -- cgit