From: Jason Roelofs Date: 2007-04-17T02:56:16+09:00 Subject: Re: factorial in ruby ------=_Part_44379_5103434.1176746168932 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline No and most likely not. def fact(n) if n == 0 1 else n * fact(n-1) end end Jason On 4/16/07, Trans wrote: > > Is factorial defined anywhere in Ruby's core or standard library. If > not will it be in 1.9+? > > Thanks, > T. > > > ------=_Part_44379_5103434.1176746168932--