开发者

clisp : remove from list of list [duplicate]

开发者 https://www.devze.com 2023-01-27 02:08 出处:网络
This question already has an answer here: Test if array is inside a list in lisp 开发者_Python百科(1 answer)
This question already has an answer here: Test if array is inside a list in lisp 开发者_Python百科 (1 answer) Closed 2 years ago.

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


(remove '(1 2) '((1 2) (1 3)) :test #'equal)
0

精彩评论

暂无评论...
验证码 换一张
取 消