From: Pit Capitain Date: 2006-03-14T04:55:04+09:00 Subject: Re: The benefits of tail recursion 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