From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Xref: utzoo comp.lang.misc:7424 comp.lang.ada:5242 comp.lang.eiffel:1504 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!asuvax!noao!arizona!gudeman From: gudeman@cs.arizona.edu (David Gudeman) Newsgroups: comp.lang.misc,comp.lang.ada,comp.lang.eiffel Subject: Re: a < b < c revisited Message-ID: <1918@optima.cs.arizona.edu> Date: 15 Apr 91 18:58:54 GMT Sender: news@cs.arizona.edu Followup-To: comp.lang.misc List-Id: In article <3195@enea.se> Erland Sommarskog writes: ] ](4) IF a /= b /= c THEN ] ]But, wait, is that really the same thing? Well, with the definition ]above it is the same thing, but would we expect it to be the same ]thing? No. (3) is true if a = c, but we would expect (4) to say ]false in this case. I wouldn't expect (4) to say false. Frankly, I wouldn't know what to think of such an expression unless I had a clear definition like the one you gave -- which strikes me as a perfectly sound one. The definition a b c ==> a b & b c gives the correct meaning for transitive relations and a consistent (but otherwise arbitrary) meaning for non-transitive relations. Since I can't think of any non-arbitrary meaning for that construct for non-transitive relations, I see no problem with the def above. -- David Gudeman gudeman@cs.arizona.edu noao!arizona!gudeman