From: Lennon Day-Reynolds Date: 2004-07-15T03:08:23+09:00 Subject: Re: Functional Ruby (Re: Why I don't use Ruby.) On Wed, 14 Jul 2004 21:57:20 +0900, Rainer Joswig wrote: > how should the PROD function mentioned in that authoritative ;-) explanation > work? Looks not very convincing to me. M needs to be incremented > in the recursive call - otherwise it would be running for a very > LOOOOONG time. Obviously that example code has never been > checked. Tail-call elimination -- the recursive function will be optimized into a loop by the compiler. Lennon