On Wed, Sep 06, 2006 at 09:44:05AM -0400,
 David Roundy <[EMAIL PROTECTED]> wrote 
 a message of 33 lines which said:

> Have you even considered the space costs of this? For almost any
> non-trivial bit of code I've written, automatic memoization would
> result in a completely useless binary, as it almost guarantees
> horrific space leaks.

And a compile-time option, where the programmer explain which
functions should be memoized?

ghc -fmemoize=foo,bar darcs.hs

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

Reply via email to