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␤»
=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
the code object.
@ -624,7 +624,7 @@ say $obj; # OUTPUT: «「a」␤»
say $obj.WHAT; # OUTPUT: «(Match)␤»
# Hashes
say 'key' ~~ %hash; # OUTPUT:«True␤», if key exists in hash.
say 'key' ~~ %hash; # OUTPUT: «True␤», if key exists in hash.
# Type - Checks if left side "is of type" (can check superclasses and roles).
say 1 ~~ Int; # OUTPUT: «True␤»
@ -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
a hash by the parser. That being said, blocks can declare what's known
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
my &mult = { $^numbers * $:times }