5 ms·
It's not strictly necessary, tail recursion is enabled in Pharen (http://github.com/scriptor/pharen http://github.com/scriptor/pharen) by compiling it into a wh
by Scriptor 16y ago
It's not strictly necessary, tail recursion is enabled in Pharen (http://github.com/scriptor/pharen http://github.com/scriptor/pharen) by compiling it into a while loop.
By the way, the docs on that page are way out of date so if anyone is interested feel free to contact me.
EDIT: I'm an idiot, for tail calls of course it's a bit more complicated than just using a loop.