Timothy Goddard schrieb:
> I thought I'd share a useful little trick with the list. I've put
> together a little library (27 lines for the actual implementation) that
> can convert any function into a partially tail-recursive function,
> without any alteration required, using a single command.
> ...

If you're interested, see ruby-talk:145593 for an implementation with 
throw/catch instead of continuations.

Regards,
Pit