Ideas for Python 3

Michael Walter cm at leetspeak.org
Fri Apr 30 08:30:22 EDT 2004


Ville Vainio wrote:

>>>>>>"Michael" == Michael Walter <cm at leetspeak.org> writes:
> 
> 
>     Michael> Almost. Or write mapc ("map currying") and have:
> 
> Note - the name mapc is very misleading, because it looks too much
> like Lisp mapc (mapcar, equicalent to normal python map).
> 
True.

L = map(curry(pow),range(2,6))

might be more intelligent, anyway, what do you think?

Cheers,
Michael



More information about the Python-list mailing list