[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug with call-with/cc and lambda?
From: |
Thien-Thi Nguyen |
Subject: |
Re: bug with call-with/cc and lambda? |
Date: |
Tue, 23 Apr 2002 16:57:48 -0700 |
From: Alejandro Forero Cuervo <address@hidden>
Date: Mon, 8 Apr 2002 14:11:16 -0500
However, when I do the following very similar construction, Guile
hangs but also starts to consume a lot of memory, giving me the idea
that something that could be tail-recursive somewhere isn't:
(define (f x) (call-with-current-continuation (lambda (x) (f x))))
(call-with-current-continuation f)
Shouldn't this use constant memory?
does it in other scheme implementations?
thi