File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -1034,10 +1034,8 @@ Please note that this has not yet been implemented.
1034
1034
1035
1035
multi sub prefix:<?^>(Mu --> Bool:D)
1036
1036
1037
- X < Boolean bitwise negation operator > .
1038
-
1039
- Coerces the argument to L < Bool|/type/Bool > and then does a bit flip, which makes it the
1040
- same as C << prefix:<!> >> .
1037
+ X < Boolean bitwise negation operator > : Coerces the argument to L < Bool|/type/Bool >
1038
+ and then does a bit flip, which makes it the same as C << prefix:<!> >> .
1041
1039
1042
1040
= head2 prefix C « ^ »
1043
1041
@@ -1236,6 +1234,15 @@ Coerces each argument to a non-variable-encoding string buffer type (e.g. C<buf8
1236
1234
and then performs a numeric bitwise XOR on corresponding integers of the two buffers, padding the
1237
1235
shorter buffer with zeroes.
1238
1236
1237
+ = head2 infix C « ?^ »
1238
+
1239
+ multi sub infix:<?^>(Mu $x = Bool::False)
1240
+ multi sub infix:<?^>(Mu \a, Mu \b)
1241
+
1242
+ X < Boolean bitwise XOR operator > : Coerces the argument(s) to L < Bool|/type/Bool >
1243
+ and performs logical XOR on them: it will return True if and only if just one of
1244
+ the argument is true. It returns identity on a single argument.
1245
+
1239
1246
= head2 infix C « ?| »
1240
1247
1241
1248
multi sub infix:<?|>($a, $b --> Bool:D)
You can’t perform that action at this time.
0 commit comments