Update raku.html.markdown

This commit is contained in:
Jonathan 2020-03-13 20:33:24 -04:00 committed by GitHub
parent 9e975a8dcf
commit 8bacbc2d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,7 +285,7 @@ sub as-many($head, *@rest) {
@rest.join(' / ') ~ " !"; @rest.join(' / ') ~ " !";
} }
say as-many('Happy', 'Happy', 'Birthday'); # OUTPUT: «Happy / Birthday !␤» say as-many('Happy', 'Happy', 'Birthday'); # OUTPUT: «Happy / Birthday !␤»
say 'Happy', ['Happy', 'Birthday'], 'Day'; # OUTPUT: «Happy / Birthday / Day !␤» say as-many('Happy', ['Happy', 'Birthday'], 'Day'); # OUTPUT: «Happy / Birthday / Day !␤»
# Note that the splat (the *) did not consume the parameter before it. # Note that the splat (the *) did not consume the parameter before it.