Clojure exercise: calculate perfect numbers « Maurits thinks aloud
If you try this with the above code, you will run into the limitation that you can't have nested anonymous functions (defined with #), but this can easily be solved by using fn. I'll leave that as an exercise to the reader. …
Maurits thinks aloud – http://maurits.wordpress.com/