From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: bug with call-with/cc and lambda? Date: Tue, 23 Apr 2002 16:57:48 -0700 Sender: guile-user-admin@gnu.org Message-ID: References: <200204062333.g36NXwl21935@mr-ed.jpl.nasa.gov> <20020408141116.A6050@bachue.com> Reply-To: ttn@glug.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019606758 15173 127.0.0.1 (24 Apr 2002 00:05:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2002 00:05:58 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 170AIH-0003wc-00 for ; Wed, 24 Apr 2002 02:05:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 170AHL-0004qa-00; Tue, 23 Apr 2002 20:04:59 -0400 Original-Received: from ca-crlsbd-u5-c4a-a-172.crlsca.adelphia.net ([24.48.214.172] helo=giblet) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 170AEQ-0004jQ-00 for ; Tue, 23 Apr 2002 20:01:58 -0400 Original-Received: from ttn by giblet with local (Exim 3.33 #1 (Debian)) id 170AAO-0006yI-00; Tue, 23 Apr 2002 16:57:48 -0700 Original-To: bachue@bachue.com In-Reply-To: <20020408141116.A6050@bachue.com> (message from Alejandro Forero Cuervo on Mon, 8 Apr 2002 14:11:16 -0500) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:264 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:264 From: Alejandro Forero Cuervo 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 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user