"Dave Whipp" <[EMAIL PROTECTED]> writes: > "Piers Cawley" <[EMAIL PROTECTED]> wrote : >> I found myself mulling over: >> >> $obj.is($other_obj); >> >> Which seems to work reasonably well, and I'd be rather surprised if >> it clashed with anything with different semantics... > > My only problem with it is the lack of symmetry. Is there any reason why > an adverb syntax can't work: > > $a eq : ID $b # yes, I would want to generalize that
I started off thinking 'well, you could just define an 'is' operator' and then realised we already have one. Hmm. Personally i don't have a problem with not having an operator for this particular functionality, I reckon it 'belongs' as a message...