[Haskell-cafe] Newbie question about automatic memoization
bf3 at telenet.be
Mon Jul 30 09:08:35 EDT 2007
Does Haskell support any form of automatic memorization?
For example, does the function
iterate f x
which expands to
[x, f(x), f(f(x)), f(f(f(x))), =85
gets slower and slower each iteration, or can it take advantage of the =
that f is referentially transparent and hence can be "memoized / =
No virus found in this outgoing message.
Checked by AVG Free Edition.=20
Version: 7.5.476 / Virus Database: 269.10.25/926 - Release Date: =
More information about the Haskell-Cafe