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]

Reply via email to