[det]subtract(+Set,
+Delete, -Result)Delete all elements in Delete from Set.
Deletion is based on unification using memberchk/2.
The complexity is |
Delete|
*|
Set|
.
A
set is defined to be an unordered list without duplicates.
Elements are considered duplicates if they can be unified.
- See also
- ord_subtract/3.