<div dir="ltr">On 9 April 2013 20:50, Timon Gehr <span dir="ltr"><<a href="mailto:timon.gehr@gmx.ch" target="_blank">timon.gehr@gmx.ch</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 04/09/2013 12:28 PM, Manu wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
...<div class="im"><br>
<br>
There's nothing 'pure' about a function that has side effects.<br>
</div></blockquote>
<br>
If it has the same side effects every time it is called with the same arguments, then there is something pure about it.</blockquote><div><br></div><div style>But it doesn't. It could do anything when called a second time, same arguments or not.</div>
<div style>The only thing it can't do is escape a variable. That sounds more like 'scope' to me than 'pure'.</div></div></div></div>