aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-240/rcmlz/raku/task-one.rakumod4
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-240/rcmlz/raku/task-one.rakumod b/challenge-240/rcmlz/raku/task-one.rakumod
index fd3e8e5645..53b9658355 100644
--- a/challenge-240/rcmlz/raku/task-one.rakumod
+++ b/challenge-240/rcmlz/raku/task-one.rakumod
@@ -8,6 +8,6 @@ You are given an array of strings and a check string.
- Write a script to find out if the check string is the acronym of the words in the given array.
]
-our sub solution([$acr, *@str]) is export {
- $acr.lc eq @str.map( *.substr(0,1) ).join.lc;
+our sub solution((Str $acr, List:D[Str:D] $str) --> Bool) is export {
+ $acr.lc eq $str.map( *.substr(0,1) ).join.lc;
} \ No newline at end of file