summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJonathan <30177086+MonliH@users.noreply.github.com>2020-03-13 20:33:24 -0400
committerGitHub <noreply@github.com>2020-03-13 20:33:24 -0400
commit8bacbc2d2f958b77b6ee5091799263289f6abfbc (patch)
tree748576bd6301d3e44096bbf56f044d5d06978ffe
parent9e975a8dcf821ea385742cfe9088d72388d08e43 (diff)
Update raku.html.markdown
-rw-r--r--raku.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/raku.html.markdown b/raku.html.markdown
index 4f397589..382e4e14 100644
--- a/raku.html.markdown
+++ b/raku.html.markdown
@@ -284,8 +284,8 @@ else". You can have as many parameters *before* a slurpy one, but not *after*.
sub as-many($head, *@rest) {
@rest.join(' / ') ~ " !";
}
-say as-many('Happy', 'Happy', 'Birthday'); # OUTPUT: «Happy / Birthday !␤»
-say 'Happy', ['Happy', 'Birthday'], 'Day'; # OUTPUT: «Happy / Birthday / Day !␤»
+say as-many('Happy', 'Happy', 'Birthday'); # OUTPUT: «Happy / Birthday !␤»
+say as-many('Happy', ['Happy', 'Birthday'], 'Day'); # OUTPUT: «Happy / Birthday / Day !␤»
# Note that the splat (the *) did not consume the parameter before it.