Thanks Per, This definitely works
> Try (loop [x (. 1 longValue)] (if (= 0 x) x (recur (- x (long 1))))). but from my understanding of clojure internals clojure.lang.Numbers should take care of that. Since one of the arguments of '-' is a long a LongOps should do the minus and return a long. Which leads me to the ask why the first version doesn't work when it should. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
