[Haskell-cafe] Memoization local to a function