Giving the factorial function as: (def factorial (fn [n] (cond (= n 1) (> n 1) (* n (recur (dec n))))))
the compiler complains "Can only recur from tail position". Isn't really the recur in tail position? It is the last expresson to be evaluated. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---