Re: [Haskell-cafe] Memoizing partially evaluated computations.

2009-03-18 Thread Sebastiaan Visser
On Mar 18, 2009, at 12:06 PM, minh thu wrote: 2009/3/18 Sebastiaan Visser : Suppose I have a list of IO computations that depends on a few very time consuming pure operations. The pure operations are not dependent on the real world: computation :: [IO Int] computation = [ smallIOfunc

Re: [Haskell-cafe] Memoizing partially evaluated computations.

2009-03-18 Thread minh thu
2009/3/18 Sebastiaan Visser : > Suppose I have a list of IO computations that depends on a few very time > consuming pure operations. The pure operations are not dependent on the real > world: > >> computation :: [IO Int] >> computation = [ >> smallIOfunc timeConsumingPureOperation0 >>,

[Haskell-cafe] Memoizing partially evaluated computations.

2009-03-18 Thread Sebastiaan Visser
Suppose I have a list of IO computations that depends on a few very time consuming pure operations. The pure operations are not dependent on the real world: > computation :: [IO Int] > computation = [ > smallIOfunc timeConsumingPureOperation0 >, smallIOfunc timeConsumingPureOperati