Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix statement terminator in example
  • Loading branch information
parabolize committed Jun 18, 2016
1 parent 3e2bdbd commit fa97bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/functions.pod
Expand Up @@ -431,7 +431,7 @@ makes it available.
=begin code
# adding a multi candidate to an existing operator:
multi infix:<+>(Int $x, "same") { 2 * $x };
say 21 + "same", # 42
say 21 + "same"; # 42
# defining a new operator
sub postfix:<!>(Int $x where { $x >= 0 }) { [*] 1..$x };
Expand Down

0 comments on commit fa97bfb

Please sign in to comment.