This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jimjjewett
Recipients
Date 2006-01-20.15:32:43
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=764593

What does this add over the (currently builtin) reduce?  

reduce(func, iter, initial)

and

reduce(func, reversed(iter), initial)

Is it just that foldr and foldl are more modern names?  
If so, it might be better to submit a documentation patch.  
The functional module should mention reduce, and the reduce 
documenation (library reference/Built-in Objects/Built-in 
Functions) could be clarified.  

Maybe even show how to create foldr and foldl as an example, 
for reduce so that the terms can be picked up by indexers.

History
Date User Action Args
2007-08-23 15:45:22adminlinkissue1410119 messages
2007-08-23 15:45:22admincreate