From: gabriele renzi Date: 2004-10-09T20:14:42+09:00 Subject: Re: Range behavior (Re: [RCR] New [] Semantics) Randy W. Sims ha scritto: > Or better. Some classes could implement an optional method (a mixin > interface?), say find_in_range, so that if the method exists for the > type of objects in the range it is called for an efficient lookup. If > the object does not support the method, it can be done the old way using > obj#succ. isn't <=>+checking for same class enough for this?