Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
simplify language
  • Loading branch information
coke committed Oct 19, 2016
1 parent 3fe2698 commit 1f144fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/Language/operators.pod6
Expand Up @@ -659,7 +659,7 @@ class or role, even after it has been redefined in the child class.
multi sub prefix:<++>($x is rw) is assoc<non>
=end code
Increments its argument by one, and returns the incremented value.X<|increment operator>
Increments its argument by one, and returns the updated value.X<|increment operator>
my $x = 3;
say ++$x; # 4
Expand All @@ -675,7 +675,7 @@ semantics.
multi sub prefix:<-->($x is rw) is assoc<non>
=end code
Decrements its argument by one, and returns the decremented value.X<|decrement operator>
Decrements its argument by one, and returns the updated value.X<|decrement operator>
my $x = 3;
say --$x; # 2
Expand All @@ -692,7 +692,7 @@ semantics.
multi sub postfix:<++>($x is rw) is assoc<non>
=end code
Increments its argument by one, and returns the unincremented value.X<|increment operator>
Increments its argument by one, and returns the original value.X<|increment operator>
my $x = 3;
say $x++; # 3
Expand All @@ -715,7 +715,7 @@ undefined values, it returns 0:
multi sub postfix:<-->($x is rw) is assoc<non>
=end code
Decrements its argument by one, and returns the undecremented value.X<|decrement operator>
Decrements its argument by one, and returns the original value.X<|decrement operator>
my $x = 3;
say $x--; # 3
Expand Down

0 comments on commit 1f144fe

Please sign in to comment.