Subject: Re: novice: mapcan use?
From: rpw3@rpw3.org (Rob Warnock)
Date: Sat, 03 Sep 2005 22:01:11 -0500
Newsgroups: comp.lang.lisp
Message-ID: <0pidnUSpg8nq_ofeRVn-gQ@speakeasy.net>
Pascal Costanza  <pc@p-cos.net> wrote:
+---------------
| It's a pity that both solutions have to do an extra pass through the 
| processed list as a last step. It would be nice if there were a way to 
| avoid that...
+---------------

There is, but it involves keeping your own tail-pointer to
the list you're (manually) COLLECT'ing, and then RPLACD the
tail to point to the rest...


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607