functional programming with map()

Courageous jkraska at san.rr.com
Sun Feb 24 23:12:04 EST 2002


>[x.f() for x in items]

Yeah, whoever it was that decided this was the syntax
for a list comprehension was just a plain genius. It's
one of those linguistic thingies where you take one
look at it, and you say, "of course".

Wait a second. What's this theory about Guido and his
time machine? I guess you're the genius, and Guido's
only cheating. :-)

C//




More information about the Python-list mailing list