summaryrefslogtreecommitdiffhomepage
path: root/perl6.html.markdown
diff options
context:
space:
mode:
authorNemil Dalal <nemild@gmail.com>2018-01-26 19:12:00 -0500
committerGitHub <noreply@github.com>2018-01-26 19:12:00 -0500
commit23c11c9a73baa3e316b183a5b4baa1da90b733da (patch)
treea774242d80d1ec1f4491d9618d4b85067f25303b /perl6.html.markdown
parent84881b3cda80339deb8102ed21fd7ab83b00ea75 (diff)
parentfce4a810cb066d6d83b829609ac15b08879cd1b0 (diff)
Merge branch 'master' into update-to-latest-solidity
Diffstat (limited to 'perl6.html.markdown')
-rw-r--r--perl6.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl6.html.markdown b/perl6.html.markdown
index 2821f0d4..04f9c6e3 100644
--- a/perl6.html.markdown
+++ b/perl6.html.markdown
@@ -1366,7 +1366,7 @@ sub add($a, $b) { $a + $b }
say [[&add]] 1, 2, 3; #=> 6
## * Zip meta-operator
-## This one is an infix meta-operator than also can be used as a "normal"
+## This one is an infix meta-operator that also can be used as a "normal"
## operator. It takes an optional binary function (by default, it just creates
## a pair), and will pop one value off of each array and call its binary
## function on these until it runs out of elements. It returns an array with
@@ -1659,7 +1659,7 @@ sub MAIN($name) { say "Hello, $name !" }
## Usage:
## t.pl <name>
-## And since it's a regular Perl 6 sub, you can haz multi-dispatch:
+## And since it's a regular Perl 6 sub, you can have multi-dispatch:
## (using a "Bool" for the named argument so that we can do `--replace`
## instead of `--replace=1`)
subset File of Str where *.IO.d; # convert to IO object to check the file exists