Skip to content

Commit

Permalink
[operators] minor typo/punctuation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Mar 25, 2010
1 parent 4cba9cd commit 59eca08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/operators.pod
Expand Up @@ -246,7 +246,7 @@ and thus stores only one item in the variable C<@scores>, the rest is
parsed as a list N<and discarded, because it is not stored in any variable>.

The ways in which this statement is parsed in Perl 6 is governed by
I<precedence rules>. For example they state that the infix C<< => >> operator
I<precedence rules>. For example, they state that the infix C<< => >> operator
binds its arguments tighter than the infix C<,> operator, which in turn binds
tighter than the C<=> assignment operator N<there are actually two assignment
operators with different precedence. When the right-hand side appears to be a
Expand All @@ -257,8 +257,8 @@ and assignment of a two-item list to a single variable>.


The precedence rules for Perl 6 allow very natural expression of many commonly
used idioms without any parenthesis, or even without thinking about
precedence. If you want to force a different way of parsing, parenthesis can
used idioms without any parentheses, or even without thinking about
precedence. If you want to force a different way of parsing, parentheses can
be used around an expression. Then this parenthesis group has the tightest
possible precedence.

Expand Down

0 comments on commit 59eca08

Please sign in to comment.