clisp

Test if array is inside a list in lisp

萝らか妹 提交于 2019-11-26 04:56:08
问题 I have two items. The first, a-child , is a list which contains an array as its first element and then some strings as the remaining elements. The other, mapped , is a list which contains a number of arrays. By inspection, it\'s easy to see that a-child is in mapped , though I can\'t find a function which will find it for me. I apologize for the poor lisp style below - I started a few days ago, so I haven\'t picked up all the conventions yet. (defparameter a-child (list (#2A((1 2 3) (7 4 5)