[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mapcar and values interaction
- To: slug@ai.sri.com
- Subject: Re: mapcar and values interaction
- From: lsmith@CLI.COM (Larry Smith)
- Date: Mon, 4 Mar 1991 13:42:24 -0500
- In-reply-to: David R. Strip's message of Mon, 4 Mar 91 10:59:36 -0700 <9103041759.AA05430@gnome.local>
I use the following idiom:
(mapcan #(lambda (x)
(if (I-want-to-include x)
(list (do-what-I-want-to x))
nil))
the-list)
Larry Smith
Computational Logic, inc
PS: I tried to reply directly to drstrip@gnome.cs.sandia.gov, and the
mailer barfed:
550 <drstrip@gnome.cs.sandia.gov>... Host unknown