We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
(defn memoization-impl [cache-impl] (let [cache (atom cache-impl)] (with-meta (fn [& args] (let [cs (swap! cache through (.f cache-impl) args)] @(lookup cs args))) {:cache cache})))