(->PluggableMemoization f cache)
Positional factory function for class clojure.core.memoize.PluggableMemoization.
Source
(deftype PluggableMemoization [f cache]
cache/CacheProtocol
(has? [_ item]
(clojure.core.cache/has? cache item))
(hit [_ item]
(PluggableMemoization. f (clojure.core.cache/hit cache item)))
(miss [_ item result]
(PluggableMemoization. f (clojure.core.cache/miss cache item result)))
(evict [_ key]
(PluggableMemoization. f (clojure.core.cache/evict cache key)))
(lookup [_ item]
(clojure.core.cache/lookup cache item))
(seed [_ base]
(PluggableMemoization. f (clojure.core.cache/seed cache base)))
Object
(toString [_] (str cache)))