[Haskell-cafe] memoization

Christopher Howard christopher.howard at frigidcode.com
Tue Jul 23 05:33:08 CEST 2013


On 07/22/2013 03:41 PM, David Thomas wrote:
> I, for one, would love to have a compiler do (a) based on (b), my
> specification of (c), and the ability to pin particular things...
>
>

The reason it is a big deal to me is it sometimes the more
natural-looking (read, declarative) way of writing a function is only
reasonably efficient if certain parts are memoized. Otherwise I end up
having to pass around extra arguments or data structures representing
the data I don't want to be recalculated.




More information about the Haskell-Cafe mailing list