(remove '(1 2) '((1 2) (1 3)))
doesn't remove '(1 2) from list in common lisp. (I think it uses eq and not equal).
Do we have any other alternative to delete element from list of lists in common lisp?
Asked
Active
Viewed 4,170 times
2
sds
- 58,617
- 29
- 161
- 278
Android_enthusiast
- 863
- 5
- 22
- 41
-
4The default test for most functions is EQL. You can provide your own in many cases with the :TEST keyword parameter. – Rainer Joswig Nov 28 '10 at 11:36