Find limit of recursion: Difference between revisions

No edit summary
Line 336:
 
<lang lisp>
(defun recurse () (recurse))
(trace recurse)
(recurse)
Line 349:
*** - Lisp stack overflow. RESET
 
However, for an implementation of Lisp that supports proper tail recursion, this function will not cause a stack overflow, so this method will not work.
 
=={{header|C sharp|C#}}==
Anonymous user