开发者

clisp : remove from list of list [duplicate]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜