The Importance of Terminology's Quality

Rob Warnock rpw3 at rpw3.org
Fri May 9 23:45:26 EDT 2008


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 at rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607




More information about the Python-list mailing list