Sha256: c9053fe10155adf6d4096cd0eddfe44301429095ba9348a65eb093de538fc41a

Contents?: true

Size: 92 Bytes

Versions: 127

Compression:

Stored size: 92 Bytes

Contents

(defn make-adder [x]
  (let [y x]
    (fn [z] (+ y z))))
(def add2 (make-adder 2))
(add2 4)

Version data entries

127 entries across 125 versions & 9 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/clojure
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/clojure
tdiary-5.0.5 vendor/bundle/gems/rouge-2.1.1/lib/rouge/demos/clojure
rouge-2.1.1 lib/rouge/demos/clojure
rouge-2.1.0 lib/rouge/demos/clojure
tdiary-5.0.4 vendor/bundle/gems/rouge-2.0.7/lib/rouge/demos/clojure
rouge-2.0.7 lib/rouge/demos/clojure
rouge-2.0.6 lib/rouge/demos/clojure
rouge-2.0.5 lib/rouge/demos/clojure
rouge-2.0.3 lib/rouge/demos/clojure
rouge-2.0.2 lib/rouge/demos/clojure
rouge-2.0.1 lib/rouge/demos/clojure
rouge-2.0.0 lib/rouge/demos/clojure
rouge-1.11.1 lib/rouge/demos/clojure
rouge-1.11.0 lib/rouge/demos/clojure
rouge-1.10.1 lib/rouge/demos/clojure
rouge-1.10.0 lib/rouge/demos/clojure
gitlab-rouge-1.9.2 lib/rouge/demos/clojure
rouge-1.9.1 lib/rouge/demos/clojure
rouge-1.9.0 lib/rouge/demos/clojure