Skip to content

Instantly share code, notes, and snippets.

@kitofr
Created July 11, 2011 13:19
Show Gist options
  • Save kitofr/1075824 to your computer and use it in GitHub Desktop.
Save kitofr/1075824 to your computer and use it in GitHub Desktop.
;http://4clojure.com/problem/42
#(loop [n % f 1]
(if (= n 1)
f
(recur (dec n) (* f n))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment