It does compute the result of a function application more than once if you ask for it more than once, and that&#39;s why we need memoization.<br><br><div>Dan</div><div><br><div class="gmail_quote">On Tue, Dec 15, 2009 at 10:32 PM, michael rice <span dir="ltr">&lt;<a href="mailto:nowgate@yahoo.com">nowgate@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">I&#39;m looking here at the Fibonacci stuff:<br>
<br><a href="http://www.haskell.org/haskellwiki/Memoization" target="_blank">http://www.haskell.org/haskellwiki/Memoization</a><br><br>Since (I&#39;ve read) Haskell never computes the value<br>of a function more than once, I don&#39;t understand the<br>
need for memoization.<br><br>Enlighten me.<br><br>Michael<br><br></td></tr></tbody></table><br>

      <br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>