|
|
|
|
|
by rabbut
2001 days ago
|
|
> (In the following, I assume that tail-calls, i.e. those where a function end with another function call, but without modifying its result, do not actually use stack space. Once all recursive function calls are tail calls, the code is equivalent to an imperative loop, as we will see.) No, it’s not “tail call”, it’s “tail recursion” or “tail-end recursion”. “Tail call” could be interpreted as any call from a function’s end, even one that adds to the stack. |
|