Oops! I just wrote:
+---------------
| ...why not have one that's at least efficient and perspicuous
| *and* also incidentally preserves the order of the input values? ;-}
| (defun separate (list)
| (loop for item in list ...
+---------------
My apologies for not reading the *entire* thread tree
before replying, or I would have seen that Rob St. Amant
had beat me with this version by nearly six hours. (*sigh*)
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607