functional programming with map()

Donnal Walter donnal at donnal.net
Sun Feb 24 22:02:42 EST 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