@@ -72,6 +72,8 @@ For unaries this is interpreted as:
72
72
73
73
= end table
74
74
75
+ In the operator descriptions below, a default associativity of I < left >
76
+ is assumed.
75
77
76
78
= head1 Operator classification
77
79
@@ -131,7 +133,7 @@ Technically this is not an operator, but syntax special-cased in the compiler.
131
133
132
134
= head2 prefix ++
133
135
134
- multi sub prefix:<++>($x is rw)
136
+ multi sub prefix:<++>($x is rw) is assoc<none>
135
137
136
138
Increments its argument by one, and returns the incremented value.
137
139
@@ -145,7 +147,7 @@ semantics.
145
147
146
148
= head2 prefix --
147
149
148
- multi sub prefix:<-->($x is rw)
150
+ multi sub prefix:<-->($x is rw) is assoc<none>
149
151
150
152
Decrements its argument by one, and returns the decremented value.
151
153
@@ -160,7 +162,7 @@ semantics.
160
162
161
163
= head2 postfix ++
162
164
163
- multi sub postfix:<++>($x is rw)
165
+ multi sub postfix:<++>($x is rw) is assoc<none>
164
166
165
167
Increments its argument by one, and returns the unincremented value.
166
168
@@ -181,7 +183,7 @@ undefined values, it returns 0:
181
183
182
184
= head2 postfix --
183
185
184
- multi sub postfix:<-->($x is rw)
186
+ multi sub postfix:<-->($x is rw) is assoc<none>
185
187
186
188
Decrements its argument by one, and returns the undecremented value.
187
189
@@ -204,7 +206,7 @@ undefined values, it returns 0:
204
206
205
207
= head2 infix **
206
208
207
- multi sub infix:<**>(Any, Any) returns Numeric:D
209
+ multi sub infix:<**>(Any, Any) returns Numeric:D is assoc<right>
208
210
209
211
The exponentiation operator coerces both arguments to L < Numeric >
210
212
and calculates the left-hand-side raised to the power of the right-hand side.
@@ -458,7 +460,7 @@ Coerces both arguments to L<Str> and concatenates them.
458
460
459
461
= head2 infix &
460
462
461
- multi sub infix:<&>($a, $b) returns Junction:D
463
+ multi sub infix:<&>($a, $b) returns Junction:D is assoc<list>
462
464
463
465
Creates an I < all > L < Junction > from its arguments. See L < Junction > for more
464
466
details.
@@ -467,14 +469,14 @@ details.
467
469
468
470
= head2 infix |
469
471
470
- multi sub infix:<|>($a, $b) returns Junction:D
472
+ multi sub infix:<|>($a, $b) returns Junction:D is assoc<list>
471
473
472
474
Creates an I < any > L < Junction > from its arguments. See L < Junction > for more
473
475
details.
474
476
475
477
= head2 infix ^
476
478
477
- multi sub infix:<^>($a, $b) returns Junction:D
479
+ multi sub infix:<^>($a, $b) returns Junction:D is assoc<list>
478
480
479
481
Creates a I < one > L < Junction > from its arguments. See L < Junction > for more
480
482
details.
0 commit comments