@@ -89,7 +89,8 @@ L<Set Theory|https://en.wikipedia.org/wiki/Set_theory>.
89
89
90
90
These infixes can be written using the Unicode character that represents the
91
91
function (like C<∈> or C<∪>), or with an equivalent ASCII version (like
92
- C<(elem)> or C<(|)>).
92
+ C<(elem)> or C<(|)>). Prefix the ASCII version with C<!> to negate it
93
+ (like C<!(elem)> or C<!(|)>).
93
94
94
95
So explicitly using L<C<Set>|/type/Set> (or L<C<Bag>|/type/Bag> or L<C<Mix>|/type/Mix>) objects with these infixes is
95
96
unnecessary. All set operators work with all possible arguments, including
@@ -108,7 +109,7 @@ Returns C<True> if C<$a> is an B<element> of C<$b>, else C<False>.
108
109
L<More information|/language/operators#infix_(elem),_infix_∈>,
109
110
L<Wikipedia definition|https://en.wikipedia.org/wiki/Element_(mathematics)#Notation_and_terminology>.
110
111
111
- =head3 infix ∉
112
+ =head3 infix !(elem), infix ∉
112
113
113
114
Returns C<True> if C<$a> is B<not> an element of C<$b>, else C<False>.
114
115
L<More information|/language/operators#infix_∉>,
@@ -120,7 +121,7 @@ Returns C<True> if C<$a> B<contains> C<$b> as an element, else C<False>.
120
121
L<More information|/language/operators#infix_(cont),_infix_∋>,
121
122
L<Wikipedia definition|https://en.wikipedia.org/wiki/Element_(mathematics)#Notation_and_terminology>.
122
123
123
- =head3 infix ∌
124
+ =head3 infix !(cont), infix ∌
124
125
125
126
Returns C<True> if C<$a> does B<not> contain C<$b>, else C<False>.
126
127
L<More information|/language/operators#infix_∌>,
@@ -132,7 +133,7 @@ Returns C<True> if C<$a> is a B<subset> or is equal to C<$b>, else C<False>.
132
133
L<<More information|/language/operators#infix_(<=),_infix_⊆>>,
133
134
L<Wikipedia definition|https://en.wikipedia.org/wiki/Subset#Definitions>.
134
135
135
- =head3 infix ⊈
136
+ =head3 infix !(<=), infix ⊈
136
137
137
138
Returns C<True> if C<$a> is B<not> a B<subset> nor equal to C<$b>, else C<False>.
138
139
L<More information|/language/operators#infix_⊈>,
@@ -144,7 +145,7 @@ Returns C<True> if C<$a> is a B<strict subset> of C<$b>, else C<False>.
144
145
L<<More information|/language/operators#infix_(<),_infix_⊂>>,
145
146
L<Wikipedia definition|https://en.wikipedia.org/wiki/Subset#Definitions>.
146
147
147
- =head3 infix ⊄
148
+ =head3 infix !(<), infix ⊄
148
149
149
150
Returns C<True> if C<$a> is B<not> a B<strict subset> of C<$b>, else C<False>.
150
151
L<More information|/language/operators#infix_⊄>,
@@ -156,7 +157,7 @@ Returns C<True> if C<$a> is a B<superset> of or equal to C<$b>, else C<False>.
156
157
L«More information|/language/operators#infix_(>=),_infix_⊇»,
157
158
L<Wikipedia definition|https://en.wikipedia.org/wiki/Subset#Definitions>.
158
159
159
- =head3 infix ⊉
160
+ =head3 infix !(>=), infix ⊉
160
161
161
162
Returns C<True> if C<$a> is B<not> a B<superset> nor equal to C<$b>, else C<False>.
162
163
L<More information|/language/operators#infix_⊉>,
@@ -168,7 +169,7 @@ Returns C<True> if C<$a> is a B<strict superset> of C<$b>, else C<False>.
168
169
L«More information|/language/operators#infix_(>),_infix_⊃»,
169
170
L<Wikipedia definition|https://en.wikipedia.org/wiki/Subset#Definitions>.
170
171
171
- =head3 infix ⊅
172
+ =head3 infix !(>), infix ⊅
172
173
173
174
Returns C<True> if C<$a> is B<not> a B<strict superset> of C<$b>, else C<False>.
174
175
L<More information|/language/operators#infix_⊅>,
@@ -185,7 +186,7 @@ versions of Rakudo can install the
185
186
L<Set::Equality|https://raku.land/zef:lizmat/Set::Equality> module for
186
187
the same functionality.
187
188
188
- =head3 infix ≢
189
+ =head3 infix !(==), infix ≢
189
190
190
191
Returns C<True> if C<$a> and C<$b> are B<not identical>, else C<False>.
191
192
L<More information|/language/operators#infix_≢>,
0 commit comments