Created
September 20, 2010 12:13
-
-
Save ponzao/587803 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(letfn [(factorial [n i] | |
(if (> i 1) | |
(factorial | |
(* n i) | |
(dec i)) | |
n))] | |
(factorial 1 5)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Human-readable version of http://twitter.com/LauJensen/status/24654495072.