Subject: Re: The Importance of Terminology's Quality
From: rpw3@rpw3.org (Rob Warnock)
Date: Fri, 09 May 2008 22:45:26 -0500
Newsgroups: comp.lang.java.programmer,comp.lang.perl.misc,comp.lang.python,comp.lang.lisp,comp.lang.functional
Message-ID: <cMidnY3lU-7Lh7jVnZ2dnUVZ_qqgnZ2d@speakeasy.net>
George Neuner <gneuner2/@/comcast.net> wrote:
+---------------
| Common Lisp doesn't have "filter".
+---------------
Of course it does! It just spells it REMOVE-IF-NOT!! ;-} ;-}
> (remove-if-not #'oddp (iota 10))
(1 3 5 7 9)
> (remove-if-not (lambda (x) (> x 4)) (iota 10))
(5 6 7 8 9)
>
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607