Skip to content

Instantly share code, notes, and snippets.

@Bankq
Created November 16, 2011 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bankq/1368945 to your computer and use it in GitHub Desktop.
Save Bankq/1368945 to your computer and use it in GitHub Desktop.
Contains
# contains by Bank
(defun contains (E L)
(cond
((null L) nil)
((eq E (car L)) t)
(t (contains E (cdr L)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment