Set consolidation: Difference between revisions

→‎{{header|Perl 6}}: remove superstitious contextualizer
(→‎{{header|Perl 6}}: use empty list for degenerate case rather than single item, use pronouns instead of x and y)
(→‎{{header|Perl 6}}: remove superstitious contextualizer)
Line 243:
gather {
for consolidate |@those -> \that {
if +(this ∩ that) { this ∪= that }
else { take that }
}
take this;
Anonymous user