logo       

Re: srfi-13 string-any tail call: msg#00102

lisp.guile.devel

Subject: Re: srfi-13 string-any tail call

Marius Vollmer <marius.vollmer@xxxxxxxxxxxxxxx> 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@xxxxxxx
http://lists.gnu.org/mailman/listinfo/guile-devel



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise