From f2a0bff3a57f399909dfba57b9dfd546fdf30e5d Mon Sep 17 00:00:00 2001 From: Simon Proctor Date: Mon, 20 Jan 2020 16:04:49 +0000 Subject: If we want to add more ops we can --- challenge-044/simon-proctor/raku/ch-1.p6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenge-044/simon-proctor/raku/ch-1.p6 b/challenge-044/simon-proctor/raku/ch-1.p6 index 6766323b24..e0367d5842 100644 --- a/challenge-044/simon-proctor/raku/ch-1.p6 +++ b/challenge-044/simon-proctor/raku/ch-1.p6 @@ -17,7 +17,7 @@ multi sub selections(0, *@) is pure { } multi sub selections(1,*@ops) is pure { - return [[@ops[0]],[@ops[1]]]; + return [ @ops.map( -> $v { [$v] } ) ]; } multi sub selections(UInt \c, *@ops) is pure { -- cgit