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 <[email protected]> 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 > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > >
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
