A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-November/057847.html below:

[Python-Dev] a different kind of reduce...

[Python-Dev] a different kind of reduce... [Python-Dev] a different kind of reduce...Noam Raphael noamraph at gmail.com
Tue Nov 1 21:55:14 CET 2005
On 11/1/05, Reinhold Birkenfeld <reinhold-birkenfeld-nospam at wolke7.net> wrote:
> > Hmm, using the function's own namespace is an interesting idea.  It
> > might also be a good place to put other functionals:
> >
> >    results = f.map(data)
> >    newf = f.partial(somearg)
>
> And we have solved the "map, filter and reduce are going away! Let's all
> weep together" problem with one strike!
>
> Reinhold

I have no problems with map and filter goint away. About reduce -
please remember that you need to add this method to any callable,
including every type (I mean the constructor). I am not sure it is a
good trade for throwing away one builting, which is a perfectly
reasonable function.

Noam
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4