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

Clojure’s “recur” form works similarly in that it’s guaranteed to be tail recursive, and if it isn’t the compiler will throw an exception.
 help



But I guess it's only works for functions that just call themselves? That's nice, but a very limited subset of TCO.



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

Search: