diff options
| -rw-r--r-- | challenge-044/simon-proctor/raku/ch-1.p6 | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
