memoizer
function
clojure.core.memoize/memoizer
(memoizer [f cache] [f cache seed])Build a pluggable memoized version of a function. Given a function and a
(pluggable memoized) cache, and an optional seed (hash map of arguments to
return values), return a cached version of that function.
If you want to build your own cached function, perhaps with combined caches
or customized caches, this is the preferred way to do so now.
Examples
No examples yet. Be the first to add one!