At 05:12 PM 8/7/00 -0400, Chaim Frenkel wrote:
> >>>>> "DC" == Damian Conway <[EMAIL PROTECTED]> writes:
>
> >> I currently fail to switch to 'eq' many times when I should, but the
> >> failure mode is obvious. Her the failure mode will be really strange.
>
>DC> I would claim that the failure mode is not obvious: "dog"=="cat" is
>true????
>
>Sure it is. I pass a large amount of data and _everything_ matches! Voila,
>I messed up the test. Test looks okay. (If I was a newbie, '==' is broken.
>Given my experience, I used the wrong test.)
Both ways have issues. "dog"=="cat", but "10.0"ne"10". Both are arguably
wrong--dogs aren't cats, but 10.0 really is 10...
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk
- RFC 54 (v1) Operators: Polymorphic comparisons Perl6 RFC Librarian
- Re: RFC 54 (v1) Operators: Polymorphic comparison... Jean-Louis Leroy
- Re: RFC 54 (v1) Operators: Polymorphic comparison... Chaim Frenkel
- Re: RFC 54 (v1) Operators: Polymorphic comparison... Peter Scott
- Re: RFC 54 (v1) Operators: Polymorphic comparison... Damian Conway
- Re: RFC 54 (v1) Operators: Polymorphic compar... John Porter
- Re: RFC 54 (v1) Operators: Polymorphic comparison... Damian Conway
- Re: RFC 54 (v1) Operators: Polymorphic compar... Glenn Linderman
- Re: RFC 54 (v1) Operators: Polymorphic compar... Chaim Frenkel
- Re: RFC 54 (v1) Operators: Polymorphic co... Dan Sugalski
- Re: RFC 54 (v1) Operators: Polymorphi... Clayton Scott
- Re: RFC 54 (v1) Operators: Polym... David L. Nicol
- Re: RFC 54 (v1) Operators: Polym... Damian Conway
- Re: RFC 54 (v1) Operators: Polymorphic comparison... Hildo Biersma
- Re: RFC 54 (v1) Operators: Polymorphic comparison... Michael Fowler
