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
What steps will reproduce the problem?
(define (loop a) (
(begin
(print a)
(loop (+ a 1))
)
))
(loop 1)
What is the expected output? What do you see instead?
expect stack overflow
Please use labels and text to provide additional information.
Original issue reported on code.google.com by hige...@gmail.com on 14 May 2008 at 5:26
The text was updated successfully, but these errors were encountered:
The version without `begin'
(define (loop i)
((print i)
(loop (+ i 1))))
(loop 1)
properly causes stack overflow.
The version without `print' also causes stack overflow.
(define (loop i)
((begin
(loop (+ i 1)))))
(loop 1)
Original comment by dico.leq...@gmail.com on 15 May 2008 at 11:05
Original issue reported on code.google.com by
hige...@gmail.com
on 14 May 2008 at 5:26The text was updated successfully, but these errors were encountered: