function in clojure code example
Example: how to make a functionn in clojure
(defn foo
"
foo
Demonstrates the body of a function
"
[param param2 ... ] ; params are seperated by spaces not commas
;stuff to do in here
)
(defn foo
"
foo
Demonstrates the body of a function
"
[param param2 ... ] ; params are seperated by spaces not commas
;stuff to do in here
)