From: Greg McIntyre Date: 2003-11-20T20:32:20+09:00 Subject: Re: x.f! RCR Dan Doel wrote: > Oh, that's actually a very good point about ! methods. They're usually > defined to have > a return value that evaluates to true when the object was modified, > and evaluates to > false when not modified. > > So f.b! => f = f.b doesn't work because it always returns true > (essentially) unless > f.b is false or nil for some reason. > > I had forgotten about that. That effectively kills this proposal > assuming you want to > preserve existing semantics. Gosh, I had no idea! Well, at least I've learnt something new. :-) -- Greg McIntyre ======[ greg@puyo.cjb.net ]===[ http://puyo.cjb.net ]===