functional programming with map()

Donnal Walter donnal at donnal.net
Mon Feb 25 04:02:42 CET 2002


I know that

map(f,items)

is equivalent to:

for x in items:
    f(x)

But what is the functional equvalent of:

for x in items:
    x.f()

Thanks.



More information about the Python-list mailing list