So far I can't get this to work. I can append a list to a list but when I try and do a find for the
list '(7 7 7) in the list l, it's coming up nil..Can any one help me search for the list '(7 7 7) in l
and if it's found output a t.
list '(7 7 7) in the list l, it's coming up nil..Can any one help me search for the list '(7 7 7) in l
and if it's found output a t.
LISP-CV> (defparameter l (list '(nil nil nil) '(nil nil nil)))
L
LISP-CV> (append (list '(7 7 7)) l)
((7 7 7) (NIL NIL NIL) (NIL NIL NIL))
LISP-CV> (find '(7 7 7) l)
NIL