From: "Stephan Kämper" Date: 2004-05-13T17:48:51+09:00 Subject: Re: Why is Ruby NOT tail recursive? John Carter wrote: > On Mon, 1 Mar 2004, Laza wrote: > > >>I have just been reading a chapter on how to implement tail-recursiveness >>in Lisp, and it seems simple enough. Why does not Ruby do it? > > > It would be a nice to have, but on the other hand, converting a tail > recursive call to a while loop is usually a very easy refactoring to make > by hand. That question might be a candidate for the FAQ, wouldn't it? The answer is here: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/94033 Happy rubying Stephan