Fix typos in raku.html.markdown

This commit is contained in:
Sizhe Zhao 2020-05-05 12:21:54 +08:00 committed by Andrew Ryan Davis
parent 5f6375db90
commit 27d32b5e43

View File

@ -265,7 +265,7 @@ takes-a-bool('config', :bool); # OUTPUT: «config takes True␤»
takes-a-bool('config', :!bool); # OUTPUT: «config takes False␤» takes-a-bool('config', :!bool); # OUTPUT: «config takes False␤»
=begin comment =begin comment
Since paranthesis can be omitted when calling a subroutine, you need to use Since parenthesis can be omitted when calling a subroutine, you need to use
`&` in order to distinguish between a call to a sub with no arguments and `&` in order to distinguish between a call to a sub with no arguments and
the code object. the code object.
@ -862,7 +862,7 @@ Both pointy blocks and blocks are pretty much the same thing, except that
the former can take arguments, and that the latter can be mistaken as the former can take arguments, and that the latter can be mistaken as
a hash by the parser. That being said, blocks can declare what's known a hash by the parser. That being said, blocks can declare what's known
as placeholders parameters through the twigils `$^` (for positional as placeholders parameters through the twigils `$^` (for positional
parameters) and `$:` (for named parameters). More on them latern on. parameters) and `$:` (for named parameters). More on them later on.
=end comment =end comment
my &mult = { $^numbers * $:times } my &mult = { $^numbers * $:times }