Skip to content

Instantly share code, notes, and snippets.

@yedi
Created June 25, 2012 16:53
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 yedi/2989839 to your computer and use it in GitHub Desktop.
Save yedi/2989839 to your computer and use it in GitHub Desktop.
(defn my-mult [a b]
(if (<= b 0)
0
(+ a (my-mult [a (- b 1)]))))
(my-mult 28 28)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment