On 12/21/06, Axel Jantsch <[EMAIL PROTECTED]> wrote:
I have a function with type f :: Int -> Int -> Int -> Int -> Int -> NRup -> NRdown and I want to make sure it is evaluated only once for the same set of arguments but I observe that it is always evaluated several times.
Maybe you want to memoize it? Memoization is when you wrap a function so that its results are stored in a data structure indexed by argument. This can be done either purely or impurely. What kind of argument ranges are we talking about? _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell