From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: srfi-13 string-any tail call Date: 23 Dec 2004 05:16:26 +0100 Message-ID: <87ekhhr6n9.fsf@zagadka.de> References: <871xe3yw1k.fsf@zip.com.au> <87r7likolm.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1103775443 13735 80.91.229.6 (23 Dec 2004 04:17:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Dec 2004 04:17:23 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Dec 23 05:17:18 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ChKPe-0000AG-00 for ; Thu, 23 Dec 2004 05:17:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ChKaE-0001n6-0R for guile-devel@m.gmane.org; Wed, 22 Dec 2004 23:28:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ChKa1-0001ij-T4 for guile-devel@gnu.org; Wed, 22 Dec 2004 23:28:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ChKZz-0001gv-O2 for guile-devel@gnu.org; Wed, 22 Dec 2004 23:28:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ChKZz-0001fk-CY for guile-devel@gnu.org; Wed, 22 Dec 2004 23:27:59 -0500 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ChKOq-00049F-B2 for guile-devel@gnu.org; Wed, 22 Dec 2004 23:16:28 -0500 Original-Received: from [195.138.43.116] (helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 4.34) id 1ChKOp-0000in-Dc for guile-devel@gnu.org; Thu, 23 Dec 2004 05:16:27 +0100 Original-Received: (qmail 9698 invoked by uid 1000); 23 Dec 2004 04:16:26 -0000 Original-To: guile-devel@gnu.org In-Reply-To: <87r7likolm.fsf@zip.com.au> Original-Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4566 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4566 Kevin Ryde writes: > Marius Vollmer writes: > > > > Yes. It would be nice in general to have a new kind of 'trampoline' > > subr that returns a function+args to call in a tail-recursive way. > > Or func+args in some new magic type, so a subr can return either a > value or a new place to goto. Hmm, a value can be returned by using 'identity' as the function to tail-call, but which method is more efficient is probably hard to say. > I was wanting `catch' to do a tail call to its handler so the handler > could recurse to continue on the rest of some data. That would be very nice. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel