Ben Finney a écrit :
Bruno Desthuilliers <bruno.42.desthuilli...@websiteburo.invalid> writes:

Ben Finney a écrit :
(Does anyone know of a counter-example, a ‘map()’ operation that
doesn't have a correspondingly simple list comprehension?)
... depends on your definition of "simple". There are things I'd
rather not write as a list comprehension...

That's why I qualified it as I did. I'd be interested to know a ‘map()’
usage where there isn't a correspondingly simple list comprehension;
that is, one that couldn't be done without being significantly more
complex than the corresponding ‘map()’ usage.

I know I've seen the case, and more than once, but I'm afraid I don't have any example to publish here - I'd need to do quite a bit of archeology :-/
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to