union — Unions of lists
list
union
( | list | LIST1 , |
list | LIST2
) ; |
Interprets two lists as sets and returns a new list that has all elements of the first list and all of the second list. Identical elements are merged. The order of the elements in the new list is preserved. Elements of l1
are prior to elements from l2
.
WARNING: quadratic complexity so far