From: matz@... (Yukihiro Matsumoto) Date: 2002-01-31T11:50:34+09:00 Subject: Re: (the diff) Re: TypeError verus NoMethodError Hi, In message "Re: (the diff) Re: TypeError verus NoMethodError" on 02/01/31, "Chr. Rippel" writes: |> Plus alternative point: It may be better to make singleton.rb to |> raise TypeError for dup and clone. | |True ... I think I will go for this. |> Could you tell me bit more about this? | |It would a bit more functional flavor to Ruby - for example we could write | |class Fixnum | def fac() (self-1).fac end |end | |def 0.fac() 1 end I see. It's little bit hard in the current implementation, without causing performance penalty. I'd like to have them if there's a good implementation possibility. matz.