Showing content from http://mail.python.org/pipermail/python-dev/attachments/20110328/97bea9fc/attachment.html below:
<div class="gmail_quote">On Sun, Mar 27, 2011 at 10:53 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Mar 28, 2011 at 2:11 PM, Daniel Stutzbach <<a href="mailto:stutzbach@google.com">stutzbach@google.com</a>> wrote:<br>
> Is there a good use-case for the func argument?</div></blockquote><div>Â </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The examples that Raymond gives in the docs (cumulative<br>
multiplication, running min/max, cash flow accumulation) look fairly<br>
solid to me.</blockquote><div><br></div><div>(I had the nagging suspicion that I was making a blunder in my email, but I couldn't see it despite rereading my email several times before sending. Â My blunder was in not rereading the patch to see the examples. Â Anyway...)</div>
<div><br></div><div>When would a running product, min, or max be useful?</div><div><br></div><div>for running_min in accumulate(data, min):</div><div>Â Â # Do what?</div><div><br></div></div>-- <br>Daniel Stutzbach<br>
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