John Cohen <kms...@my-deja.com> writes: > what is the easiest way to tell if (car L) is a member of (cdr L). > I only need T or NIL as output, thanks for advice...
(member (car l) (cdr l))
But what are you really trying to achieve? Maybe a higher-level function might be more suitable...
Regs, Pierre.
-- Pierre Mai <p...@acm.org> PGP and GPG keys at your nearest Keyserver "One smaller motivation which, in part, stems from altruism is Microsoft- bashing." [Microsoft memo, see http://www.opensource.org/halloween1.html]