added clojure exampple

ref #828
This commit is contained in:
Avelino 2018-05-31 07:16:08 -03:00
parent c1510365db
commit 0c074dcc2a

View file

@ -0,0 +1,8 @@
(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))