Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 0d39481b79
Fetching contributors…

Cannot retrieve contributors at this time

executable file 10 lines (7 sloc) 0.13 kB
#!/usr/bin/env clj
(defn fac [n]
"Returns the factorial of n"
(if (= n 1)
1
(* n (fac (- n 1)))))
(println (fac 3))
Jump to Line
Something went wrong with that request. Please try again.