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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Magic ordering Date: 16 Mar 2005 15:03:51 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <42309456$1@news.broadpark.no> <4232ab3a$0$26547$9b4e6d93@newsread4.arcor-online.net> <1110888090.283361.113590@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: shell01-e.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1111003431 24578 69.38.147.31 (16 Mar 2005 20:03:51 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 16 Mar 2005 20:03:51 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:9516 Date: 2005-03-16T15:03:51-05:00 List-Id: "Dmitry A. Kazakov" writes: > On Tue, 15 Mar 2005 12:54:30 +0000, Marius Amado Alves wrote: > > > (Sorry I changed the subject. I'm just that kind of guy :-) > > > > On 15 Mar 2005, at 12:01, Hans Malherbe wrote: > > > >> I have to ask myself though: If I am denied access to information that > >> lets me implement a < operator, am I supposed to be able to sort it? > > > > This is one of my favourites. There's always a way. Bit by bit > > comparison, an arbitrary index, 'Address comparison... > > All of which might appear wrong. The objects might be non-contiguous, have > replicas etc. > > Comparison should reflect the semantics of compared things. There is no > universal way to do it. It seems to me that there are two sorts of "<" operator here. For one, "<" represents some arbitrary order. It has to have certain properties, like always returning the same answer on the same args, and X=Y implies that X