[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mapcar and values interaction



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