On 10/12/06, Silviu Gheorghe <[EMAIL PROTECTED]> wrote:

I'd like to know if the results are "cached"  by the compiler

Hardly ever, as I understand things.

if they are not I'd like to know what is the best way to cache them
manually, and where can I read more about this, and the optimizations the
compiler does, because I've searched the web before and i found very little
on this topic.

You need to search for the word "memoize" (or "memoise"). Here's a
page about a memo function for GHC.

   http://www.haskell.org/ghc/docs/6.4.2/html/hslibs/memo-library.html

Hope this helps!

--Tom Phoenix
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to