[ previous | index | next ]


Proper tail recursion

(guaranteed asymptotic space complexity)

Not a real problem because

We once used the tail. modifier for all calls, including non-tail calls.
We now use a trampoline for all calls.