<html><body bgcolor="#FFFFFF"><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">On Jul 6, 2011, at 6:02 PM, Walter Bright <<a href="mailto:walter@digitalmars.com">walter@digitalmars.com</a>> wrote:</span><br></div><div><br></div><blockquote type="cite"><div>
On 7/6/2011 2:12 PM, David Simcha wrote:
<blockquote cite="mid:CAA8CUdvQ-36SUr=iDiCnpixd+fpfJYTuqcRO66JJNEqz3P+VPA@mail.gmail.com" type="cite"><br>
<br>
<div class="gmail_quote">On Wed, Jul 6, 2011 at 5:09 PM, Walter
Bright <span dir="ltr"><<a moz-do-not-send="true" href="mailto:walter@digitalmars.com"><a href="mailto:walter@digitalmars.com">walter@digitalmars.com</a></a>></span>
wrote:<br>
<div> </div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
This is what I have difficulty with. Consider:<br>
<br>
pure void foo(int* p) { *p = 3; }<br>
<br>
That isn't pure, or weakly pure.<br>
</blockquote>
<div><br>
???? Yes it is. It can be called from a strongly pure
function without violating purity <br>
</div>
</div>
</blockquote>
<br>
Yes, but it is not pure itself.<font class="Apple-style-span" color="#005001"><font class="Apple-style-span" color="#0023A3"><br></font></font></div></blockquote><br><div>Eek! Walter, I think you have a severe misunderstanding of Don's weak/strong purity concept. Doing a quick google search, I found the following link: <a href="http://www.mail-archive.com/digitalmars-d@puremagic.com/msg40808.html"><a href="http://www.mail-archive.com/digitalmars-d@puremagic.com/msg40808.html">http://www.mail-archive.com/digitalmars-d@puremagic.com/msg40808.html</a></a></div><div><br></div></body></html>