Comment on Learning Clojure with Project EulerparentComments−grokcodeOP16ySure makes sense. Any idea why clojure doesn't do automatic tail call optimization, and instead depends on recur?−cjenkins16yThe first reply at http://groups.google.com/group/clojure/browse_thread/thread/... goes into pretty good detail from the language designer.The short version is that it's a limitation in the JVM currently that he's hoping is removed some day.
Comments
Sure makes sense. Any idea why clojure doesn't do automatic tail call optimization, and instead depends on recur?
The first reply at http://groups.google.com/group/clojure/browse_thread/thread/... goes into pretty good detail from the language designer.
The short version is that it's a limitation in the JVM currently that he's hoping is removed some day.