[det]ord_intersection(+Set1,
+Set2, ?Intersection, ?Difference)Intersection and difference between two ordered sets.
Intersection is the intersection between Set1 and Set2,
while
Difference is defined by ord_subtract(Set2, Set1, Difference)
.
- See also
- ord_intersection/3
and ord_subtract/3.