Merge pull request #904 from avelino/clojure

added clojure exampple
pull/914/merge
Alexandru Dima 2018-05-31 12:28:02 +02:00 committed by GitHub
commit 0fff4b5721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

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))