> > This RFC proposes that numeric comparison operators default to stringwise > > comparison when both arguments are non-numeric strings. > > > The problem with this, is that we're removing orthogonality from the > language. ROTFL. > Do we want to say: > $num1 == $num2 works > $string1 == $string2 works > $string1 eq $string2 works > $num1 == <non-decimal numeric literal> works > $num1 eq <non-decimal numeric literal> breaks? No, this last one still works. Damian
- 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