playground/misc/acl2-hello.lisp

7 lines
115 B
Common Lisp

(defun mem (e x)
(if (consp x)
(if (equal e (car list))
t
(mem e (cdr x))
nil)))