deep-memoize

Memoization that recurses in the case of function output