1
0
Эх сурвалжийг харах

Merge pull request #904 from avelino/clojure

added clojure exampple
Alexandru Dima 7 жил өмнө
parent
commit
0fff4b5721

+ 8 - 0
website/index/samples/sample.clojure.txt

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