[Haskell-cafe] Haskell and "memoization"

Daniel Peebles pumpkingod at gmail.com
Tue Dec 15 23:07:28 EST 2009


It does compute the result of a function application more than once if you
ask for it more than once, and that's why we need memoization.

Dan

On Tue, Dec 15, 2009 at 10:32 PM, michael rice <nowgate at yahoo.com> wrote:

> I'm looking here at the Fibonacci stuff:
>
> http://www.haskell.org/haskellwiki/Memoization
>
> Since (I've read) Haskell never computes the value
> of a function more than once, I don't understand the
> need for memoization.
>
> Enlighten me.
>
> Michael
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091215/4dd3f277/attachment.html


More information about the Haskell-Cafe mailing list