summaryrefslogtreecommitdiffhomepage
path: root/raku.html.markdown
diff options
context:
space:
mode:
authorStanislav (Stanley) Modrak <44023416+smith558@users.noreply.github.com>2023-03-08 09:35:48 +0000
committerGitHub <noreply@github.com>2023-03-08 09:35:48 +0000
commit4c79407041c1a1969815368c11003cb5ea20a837 (patch)
treec464ca387191c91f0dc2572ef4b281a3c7aa1844 /raku.html.markdown
parente3ee5b81faad348586ff50dda2100046bd17591f (diff)
parentfbaa905e23f26d20b37a3886dd8e07cd6edb8680 (diff)
Merge branch 'master' into patch-4
Diffstat (limited to '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 a8059791..53404f58 100644
--- a/raku.html.markdown
+++ b/raku.html.markdown
@@ -688,7 +688,7 @@ say (0 or False); # OUTPUT: «False␤».
my ($a, $b, $c, $d, $e) = 1, 0, False, True, 'pi';
say $a && $b && $c; # OUTPUT: «0␤», the first falsey value
say $a && $b && $c; # OUTPUT: «False␤», the first falsey value
-say $a && $d && $e; # OUTPUT: «pi␤», last operand since everthing before is truthy
+say $a && $d && $e; # OUTPUT: «pi␤», last operand since everything before is truthy
# `||` returns the first argument that evaluates to `True`.
say $b || $a || $d; # OUTPUT: «1␤»
@@ -1965,7 +1965,7 @@ say so 'abbbbc' ~~ / a b* c /; # OUTPUT: «True␤»
say so 'aec' ~~ / a b* c /; # OUTPUT: «False␤», "b"(s) are optional, not replaceable.
# `**` - (Unbound) Quantifier
-# If you squint hard enough, you might understand why exponentation is used
+# If you squint hard enough, you might understand why exponentiation is used
# for quantity.
say so 'abc' ~~ / a b**1 c /; # OUTPUT: «True␤», exactly one time
say so 'abc' ~~ / a b**1..3 c /; # OUTPUT: «True␤», one to three times