<br><br><div class="gmail_quote">On Mon, Jan 3, 2011 at 10:15 PM, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:SeeWebsiteForEmail@erdani.org">SeeWebsiteForEmail@erdani.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I just added a higher-order function memoize to std.functional which I think is pretty cool. See the docs here:<br>
<br>
<a href="http://d-programming-language.org/cutting-edge/phobos/std_functional.html#memoize" target="_blank">http://d-programming-language.org/cutting-edge/phobos/std_functional.html#memoize</a><br>
<br>
I'm also thinking of adding that cutting-edge directory as a place for storing documentation for commits that are in flux but not officially released yet.</blockquote><div><br></div><div>Pretty sweet, but if I'm understanding this correctly, the memoized version of a pure function isn't pure, is it? Is there any way to get that to happen? </div>
</div><br>