From: Michel Belleville Date: 2007-06-07T19:24:47+09:00 Subject: Re: Mutually-Recursive Functions ------=_Part_53517_23635192.1181211888280 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Well, actually as far as I can tell your even / odd functions principle works a treat. There's just a small bug : def my_even(x) x == 0 or odd(x - 1) end def my_odd(x) x != 0 and even(x - 1) end The name my_even and even doesn't match, as my_odd and odd, so if u do something like that : def even?(x) x == 0 or odd?(x - 1) end def odd?(x) x != 0 and even?(x - 1) end It should work. ------=_Part_53517_23635192.1181211888280--