merge — Merges two lists into one
list
merge
( | 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 preserved. The order of the elements in the new list is preserved. Elements of l1
are prior to elements from l2
. nil
as either argument makes the result nil
too.