Jump to content

Set consolidation: Difference between revisions

m
Line 1,042:
)</lang>
 
In other words, fold each set into a growing list of consolidated sets. When there's any overlap between the newly considered set (<code>x</code>) and any of the list of previously considered sets (<code>y</code>), merge the unique values from all of those into a single set (any remaining sets remain as-is). Here, <code>b</code> selects the overlapping sets from y (and <code>-.b</code> selects the rest of those sets).
 
Examples:
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.