Re:ChrysaLisp
by lvh on Monday January 13, 2020 @11:31AM
(#22035842)
Yes, but you have to be explicit that it's a recur by using the recur special form. (I'm not convinced that matters, but some people get hung up on it.)
[ Parent
| on HN ]
yeah, there is special syntax for it in other jvm languages that support tail recursion, as well (kotlin).
i honestly don't know how they would do it otherwise, really. I actually liked the `recur` syntax of clojure when i was playing around with it a few years ago, though.