On Mon, Jul 22, 2013 at 07:52:06PM +1200, Chris Wong wrote:
> A binding is memoized if, ignoring everything after the equals sign,
> it looks like a constant.
> 
> In other words, these are memoized:
[...]
>     f = \x -> x + 1
[...]
> and these are not:
> 
>     f x = x + 1

In what sense is the former memoised?  I'm not aware of any difference
between these two definitions.

Tom

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

Reply via email to