stable-memo-0.1.2: Memoization based on argument identity

Data.StableMemo

Synopsis

memo :: (a -> b) -> a -> bSource

Memoize a unary function.

memo2 :: (a -> b -> c) -> a -> b -> cSource

Curried memoization to share partial evaluation

memo3 :: (a -> b -> c -> d) -> a -> b -> c -> dSource