From: cnb Date: 2008-09-08T11:53:57+09:00 Subject: Re: Ruby tailcall optimizes? wow this was nice and elegant and i can even call it with fac 5 withou parenthesis. . def fac(n, acc=1) if n > 0 then fac(n-1, n*acc) else acc end end