Skip to content

Commit 322ad1a

Browse files
committed
Eliminates «<+» «>+» which were obsoleted
Since 2017.07: https://github.com/rakudo/rakudo/blob/c66a6f0ec533e157a728afb90824c49704601f91/docs/ChangeLog#L793 Thanks to @lizmat for the heads up, this closes #2016
1 parent f149663 commit 322ad1a

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

doc/Language/setbagmix.pod6

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -298,51 +298,6 @@ Equivalent to C«!(>)», at codepoint U+2285 (NOT A SUPERSET OF).
298298
say (1, 2, 3, 4).Set !(>) (3, 2, 1).Set; # OUTPUT: «False␤»
299299
say (1, 3).Set ⊅ (3, 2, 1).Set; # OUTPUT: «True␤»
300300
301-
=head3 infix (<+)
302-
303-
multi sub infix:<<(<+)>>(Any $a, Any $b --> Bool)
304-
multi sub infix:<<(<+)>>(Baggy $a, Baggy $b --> Bool)
305-
306-
X<Baggy subset of operator>.
307-
308-
Returns C<True> if C<$a> is a Baggy B<subset> of C<$b>, i.e., if all the
309-
elements of C<$a> are in C<$b> and each element of C<$b> is weighed at
310-
least as heavily as the element is in C<$a>.
311-
312-
say (1, 2, 3).Bag (<+) (3, 2, 1).Bag; # OUTPUT: «True␤»
313-
say (1, 2, 2, 3).Bag (<+) (3, 2, 1).Bag; # OUTPUT: «False␤»
314-
315-
=head3 infix ≼
316-
317-
only sub infix:<≼>($a, $b --> Bool)
318-
319-
Alternate baggy subset of operator.
320-
321-
Equivalent to L«(<+)», at codepoint U+227C (PRECEDES OR EQUAL TO).
322-
323-
=head3 infix (>+)
324-
325-
multi sub infix:<<(>+)>>(Baggy $a, Baggy $b --> Bool)
326-
multi sub infix:<<(>+)>>(Any $a, Any $b --> Bool)
327-
328-
X<Baggy superset of operator>.
329-
330-
Returns C<True> if C<$a> is a Baggy B<superset> of C<$b>, i.e., if all the
331-
elements of C<$b> are in C<$a> and no element of C<$b> is weighted heavier
332-
than that element is in C<$a>.
333-
334-
say (1, 2, 3).Bag (>+) (3, 2, 1).Bag; # OUTPUT: «True␤»
335-
say (1, 2, 2, 3).Bag (>+) (3, 2, 1).Bag; # OUTPUT: «True␤»
336-
say (1, 2).Bag (>+) (3, 2, 1).Bag; # OUTPUT: «False␤»
337-
338-
=head3 infix ≽
339-
340-
only sub infix:<≽>($a, $b --> Bool)
341-
342-
Alternate baggy superset of operator.
343-
344-
Equivalent to L«(>+)», at codepoint U+227D (SUCCEEDS OR EQUAL TO).
345-
346301
=head2 Operators that return C<Set> or C<Bag>
347302
348303
=head3 infix (|)

0 commit comments

Comments
 (0)