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
rouge-4.5.1 lib/rouge/demos/clojure
rouge-4.5.0 lib/rouge/demos/clojure
rouge-4.4.0 lib/rouge/demos/clojure
rouge-4.3.0 lib/rouge/demos/clojure
rouge-4.2.1 lib/rouge/demos/clojure
rouge-4.2.0 lib/rouge/demos/clojure
rouge-4.1.3 lib/rouge/demos/clojure
rouge-4.1.2 lib/rouge/demos/clojure
rouge-4.1.1 lib/rouge/demos/clojure
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/clojure
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/clojure
rouge-4.1.0 lib/rouge/demos/clojure
rouge-4.0.1 lib/rouge/demos/clojure
rouge-4.0.0 lib/rouge/demos/clojure
rouge-3.30.0 lib/rouge/demos/clojure
rouge-3.29.0 lib/rouge/demos/clojure
rouge-3.28.0 lib/rouge/demos/clojure
rouge-3.27.0 lib/rouge/demos/clojure
rouge-3.26.1 lib/rouge/demos/clojure
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/clojure