Ah, I see now that you are doing (g x) in your loop, not (g i), so scratch what I said about the loop running the wrong direction.
On Wed, Feb 5, 2014 at 9:23 AM, Mark Engelberg <mark.engelb...@gmail.com>wrote: > Looks to me like your Clojure loop runs in the opposite direction > (counting downwards) versus the other languages. Since your code only > returns the result of the last iteration of the loop, it's not too > surprising that they return completely different results -- the last > iteration of the Clojure code is a completely different input than in the > other languages. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.