Code: Select all
(select '(0 1 2 3 4) '(1 2))
Yet what I want is to get all elements other than those "selceted", that is to say, I want to obtain (0 3 4) from above example.
I tried with the function "filter" like this:
Code: Select all
(filter (not (find $idx '(1 2))) '(0 1 2 3 4))
So, is there a better way to anti-select elements in a list at one time by another list which assign positions those elements to be deleted?