Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can do optimized mutual-recursion in Clojure as well, using (trampoline). As with the optimized self-recursion using (recur), it's more work and not as nice as built-in TCO, but this is likely as good as it gets for now, given the current limitations of the JVM.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: