saolsen/programming-clojure — comment on commit 52ed4b7b1b142b9d3045ff0cddea1b8ca1012d6f
File: src/programming_clojure/genalg.clj line 48
By saolsen:

I think if you change this 0 to (0) your version might work, I didn't test it though. Tail recursion is bad form in clojure though because it's not optimized. Loop recur is a drop in replacement but maps and folds (reduce) are even better.