[Python-Dev] defmacro

Andrew Koenig ark-mlist at att.net
Tue Apr 26 18:09:58 CEST 2005

> This doesn't feel right to me.  By that argument, people would want
> to "improve"
>   (mapcar (lambda (x) (car x)) list-of-lists)
> to
>   (mapcar list-of-lists (x) (car x))
> Have you ever heard someone complain about that lambda, though?

Welllll....  Shouldn't you have written

    (mapcar car list-of-lists)

or am I missing something painfully obvious?

More information about the Python-Dev mailing list