diff options
Diffstat (limited to 'challenge-324')
| -rw-r--r-- | challenge-324/0rir/raku/ch-2.raku | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-324/0rir/raku/ch-2.raku b/challenge-324/0rir/raku/ch-2.raku index 918b5d228d..c56d81f5f2 100644 --- a/challenge-324/0rir/raku/ch-2.raku +++ b/challenge-324/0rir/raku/ch-2.raku @@ -51,7 +51,7 @@ my @Test = plan +@Test รท 2; sub task( @a where { **.are(Int) or ** ~~ Empty } -->Int:D) { - sum do for @a.combinations { sum [+^] $_ } +sum do for @a.combinations { [+^] $_ } } for @Test -> @in, $exp { |
