Created
May 30, 2011 17:28
-
-
Save kitofr/999186 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
;http://4clojure.com/problem/22 | |
#(loop [coll % cnt 0] | |
(if (empty? coll) | |
cnt | |
(recur (next coll) (inc cnt)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment