@kenpu/

Learning Clojure

Clojure

No description

fork
loading
Files
  • main.clj

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.32816253102893556","path":"main.clj","file":{"path":"main.clj","content":{"asEncoding":{"base64":"KGRlZiBhdmctMyAoZm4gW2EgYiBjXSAKICAgICAgICAgICAgICgvICgrIGEgYiBjKSAzKSkpCgooYXZnLTMgMTAuIDEwIDMwKQ=="},"asBuffer":null},"loaded":true}}
1
2
3
4
(def avg-3 (fn [a b c] 
             (/ (+ a b c) 3)))

(avg-3 10. 10 30)
Clojure 1.8.0 Java HotSpot(TM) 64-Bit Server VM 1.8.0_91-b14