Why not tail recursion?
22 points by linkdd
22 points by linkdd
Couldn’t this be solved with something explicit for tail calls, e.g. the way Clojure does it with recur?
A keyword like that is useful if you want to be told when your recursive call is accidentally not in tail position, but it still requires a collection of syntax-driven rules to determine where it is legal to put that keyword.