News for hackers. Stuff that matters.
Re:One Major Difference Between Clojure and Common Lisp by EdwardDiego on Saturday September 12, 2015 @02:10AM (#10207438)
You can use the recur special form to enforce recursion from the tail position in Clojure.
Re:One Major Difference Between Clojure and Common Lisp by lispm on Saturday September 12, 2015 @04:48AM (#10207624)
True, but that's not TCO (or tail call elimination). That would mean that every single tail call is optimized to eliminate that stack overhead.

    (defun foo () (foo)) ;<- tail call

    (defun bar () (bar)) ;<- tail call

    (defun baz (a b) (+  ;<- tail call
                        (* a 2)
                        (* b 3)))
Re:One Major Difference Between Clojure and Common Lisp by devin on Saturday September 12, 2015 @03:27AM (#10207542)
This.