Skip to content

Commit f5d74e5

Browse files
committed
explain how to disambiguate meta ops
1 parent 877fe8e commit f5d74e5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/Language/operators.pod6

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ Meta operators can be parameterized with other operators or subroutines in the
122122
same way as functions can take functions as parameters. To use a subroutine as
123123
a parameter, prefix its name with a C<&>. Perl 6 will generate the actual
124124
combined operator in the background, allowing the mechanism to be applied to
125-
user defined operators. There are quite a few Meta operators with different
126-
semantics as explained, next.
125+
user defined operators. To disambiguate chained meta operators enclose the
126+
inner operator in square brackets. There are quite a few Meta operators with
127+
different semantics as explained, next.
127128
128129
=head1 Substitution Operators
129130

0 commit comments

Comments
 (0)