stable-memo-0.1.3: Memoization based on argument identity

Safe HaskellNone

Data.StableMemo

Synopsis

Documentation

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

Curried memoization to share partial evaluation