From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: srfi-13 string-any tail call Date: Thu, 23 Dec 2004 08:30:29 +1100 Message-ID: <87r7likolm.fsf@zip.com.au> References: <871xe3yw1k.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 1103755650 9997 80.91.229.6 (22 Dec 2004 22:47:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2004 22:47:30 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Dec 22 23:47:25 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 1ChFGO-0002pk-00 for ; Wed, 22 Dec 2004 23:47:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ChFQx-0008Ne-Uv for guile-devel@m.gmane.org; Wed, 22 Dec 2004 17:58:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ChFQf-0008LE-FB for guile-devel@gnu.org; Wed, 22 Dec 2004 17:58:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ChFQe-0008Kb-9Z for guile-devel@gnu.org; Wed, 22 Dec 2004 17:58:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ChFQe-0008KY-6P for guile-devel@gnu.org; Wed, 22 Dec 2004 17:58:00 -0500 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ChE4H-0001yS-Gd for guile-devel@gnu.org; Wed, 22 Dec 2004 16:30:50 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout1.pacific.net.au (8.12.3/8.12.3/Debian-7.1) with ESMTP id iBMLUkGx006120; Thu, 23 Dec 2004 08:30:46 +1100 Original-Received: from localhost (ppp2428.dyn.pacific.net.au [61.8.36.40]) by mailproxy1.pacific.net.au (8.12.3/8.12.3/Debian-7.1) with ESMTP id iBMLUjLe028685; Thu, 23 Dec 2004 08:30:45 +1100 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1ChE3y-0000SP-00; Thu, 23 Dec 2004 08:30:30 +1100 Original-To: Marius Vollmer Mail-Copies-To: never In-Reply-To: (Marius Vollmer's message of "Wed, 22 Dec 2004 17:54:29 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) 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:4560 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4560 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. 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. `catch' would be a case of either returning a value (from the body) or the handler to jump to. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel