(defn make-adder [x]
(let [y x] (fn [z] (+ y z))))
(def add2 (make-adder 2)) (add2 4)
[Validate]
Generated with the Darkfish Rdoc Generator 2.