std-remove-duplicates | ![]() |
STD-REMOVE-DUPLICATES
returns a list without all duplicate elements. It is not destructive, it always returns a copy. The new list is created out of all first occurences of the elements. All duplicates after the first are removed. The original order stays intact.
(std-remove-duplicates '(0 1 0 2 2))
=> (0 1 2)
lst: any proper list.
A list.
None.
(std-require 'STDLIST)
Defined in STDLIST