You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; This example proves that a Scheme implements proper tail recursion (or tail call optimization, or TCO).
2
+
;
3
+
; TCO isn't just about self-calling. The following is expected to run forever in scheme. It will use ~100% CPU, however memory usage is expected to remain constant and a stack overflow should never occur:
0 commit comments