Skip to content

Instantly share code, notes, and snippets.

@harlanhaskins
Created January 1, 2016 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harlanhaskins/e81c6176f9607b89f2b0 to your computer and use it in GitHub Desktop.
Save harlanhaskins/e81c6176f9607b89f2b0 to your computer and use it in GitHub Desktop.
(def fact (n)
(if (= n 0)
1
(* n (fact (- n 1)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment