Hacker News new | ask | show | jobs
by Retr0id 1481 days ago
How does this relate to tail calls?
1 comments

Tail calls have a collector that accumulates the result, very similar pattern as in the example. It's an optimization in LISP and similar languages.