2

(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?

sds
  • 58,617
  • 29
  • 161
  • 278
Android_enthusiast
  • 863
  • 5
  • 22
  • 41

1 Answers1

10
(remove '(1 2) '((1 2) (1 3)) :test #'equal)
Johan Kotlinski
  • 25,185
  • 9
  • 78
  • 101