guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: srfi-13 string-any tail call


From: Kevin Ryde
Subject: Re: srfi-13 string-any tail call
Date: Thu, 23 Dec 2004 08:30:29 +1100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Marius Vollmer <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]