[Python-ideas] itertools has starmap but no starreduce?

Andrey Fedorov anfedorov at gmail.com
Fri Feb 12 20:33:52 CET 2010

hah, I suppose I could do this with partial(apply, args=x), but that doesn't
seem like the best idea.

- Andrey

On Fri, Feb 12, 2010 at 2:19 PM, Oleg Broytman <phd at phd.pp.ru> wrote:

> On Fri, Feb 12, 2010 at 01:59:45PM -0500, Andrey Fedorov wrote:
> > Aside: there is no built-in for "lambda x, f: f(x)" somewhere, is there?
>    apply(f, x) but why do you need it at all? Just call f(x).
> Oleg.
> --
>     Oleg Broytman            http://phd.pp.ru/            phd at phd.pp.ru
>           Programmers don't die, they just GOSUB without RETURN.
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100212/ae513739/attachment.html>

More information about the Python-ideas mailing list