Created
February 24, 2015 22:49
-
-
Save LispyAriaro/07c7d9782c7e95e8ed85 to your computer and use it in GitHub Desktop.
This file contains 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
(fn [lst] | |
(letfn [(my-fn [lst so-far] | |
(if (empty? lst) | |
so-far | |
(recur (rest lst) (inc so-far))))] | |
(my-fn lst 0))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment