I\'m trying to write a function that returns a memoized recursive function in Clojure, but I\'m having trouble making the recursive function see its own memoized bindings. I
(def fib (memoize (fn [x] (if (< x 2) x (+ (fib (- x 1)) (fib (- x 2))))))) (time (fib 35))