Skip to content

Commit

Permalink
Fixing arithmetics.
Browse files Browse the repository at this point in the history
And some reflow. Closes #2204, which is absolutely correct. Thanks!
  • Loading branch information
JJ committed Jul 22, 2018
1 parent 88fff75 commit 950b22c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/Language/syntax.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ operator after them. For instance:
sub term:<dice> { (1..6).pick };
say dice + dice;
can print any number between 1 and 12.
can print any number between 2 and 12.
If instead we had declared C<dice> as a regular
Expand All @@ -362,9 +362,9 @@ expression (and thus also a statement).
The C<do> prefix turns statements into expressions. So while
=begin code :skip-test
my $x = if True { 42 }; # Syntax error!
=end code
=begin code :skip-test
my $x = if True { 42 }; # Syntax error!
=end code
is an error,
Expand Down Expand Up @@ -424,9 +424,9 @@ variables:
=head2 Packages and qualified names
Named entities, such as variables, constants, classes, modules or subs,
are part of a namespace. Nested parts of a name use C<::> to separate
the hierarchy. Some examples:
Named entities, such as variables, constants, classes, modules or subs, are part
of a namespace. Nested parts of a name use C<::> to separate the hierarchy. Some
examples:
=begin code :skip-test
$foo # simple identifiers
Expand Down

0 comments on commit 950b22c

Please sign in to comment.