On Fri, Aug 04, 2000 at 04:48:24PM -0400, John Porter wrote: > I think this should mean what it means in Icon, namely, that > $x < $y evaluates to false if $x >= $y, and evaluates to > "$y (but true)" if $x < $y. This allows the operators to be > nested, i.e. $x < $y < $z would be ( $x < $y ) < $z, which > performs the $y < $z comparison iff $x < $y. If implemented via source filters, $x < $y < $z would get translated to $x < $y && $y < $z, which, of course, short circuits. No need for "$y (but true)" (Although, we already have "0 but true" until someone submits an RFC to remove it ;-) -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]
- RFC 25 (v1) Multiway comparisons Perl6 RFC Librarian
- Re: RFC 25 (v1) Multiway comparisons Glenn Linderman
- Re: RFC 25 (v1) Multiway comparisons John Porter
- RFC: "Empty But True" Special S... Jonathan Scott Duff
- RFC: "Empty But True" Speci... John Porter
- Re: RFC 25 (v1) Multiway comparisons Ken Fox
- Re: RFC 25 (v1) Multiway compari... Jonathan Scott Duff
- Re: RFC 25 (v1) Multiway com... Ken Fox
- Re: RFC 25 (v1) Multiway com... Chaim Frenkel
- Re: RFC 25 (v1) Multiway comparisons Johan Vromans
- Re: RFC 25 (v1) Multiway comparisons Martyn J. Pearce
- Re: RFC 25 (v1) Multiway comparisons Damian Conway
- Re: RFC 25 (v1) Multiway comparisons Chaim Frenkel
- Re: RFC 25 (v1) Multiway comparisons Damian Conway