monaco-editor/website/index/samples/sample.clojure.txt
2018-05-31 07:16:08 -03:00

8 lines
271 B
Text

(def object "call object via def()")
(defn say-hello
"Takes name argument and say hello to the name"
[name]
(println (str "God said let there be " name)))
(let [l "light"] (println (str (say-hello l) " " object)))
(doc say-hello)
(meta (var say-hello))