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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9cccf6ef6149fdaa X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Operators -> unit analysis Date: 2000/01/07 Message-ID: <853lkg$tgj$1@nnrp1.deja.com>#1/1 X-Deja-AN: 569195738 References: <38620350.48F8FC08@gecm.com> <83u8l0$5i5$1@nnrp1.deja.com> <84rd2f$snm$1@nntp3.atl.mindspring.net> <84thof$9r3$1@nntp4.atl.mindspring.net> <387383D0.4EA02E95@earthlink.net> <850jiq$mad$1@nnrp1.deja.com> <3874D0BE.82F04763@Raytheon.com> X-Http-Proxy: 1.0 x24.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Jan 07 03:13:29 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-01-07T00:00:00+00:00 List-Id: In article <3874D0BE.82F04763@Raytheon.com>, "Samuel T. Harris" wrote: > How about a representation clause which defines the precedence > of a custom operator to that of another. Something like ... > > for "union"'precedence use "+"; > for "intersection"'precedence use "*"; > > -- > Samuel T. Harris, Principal Engineer > Raytheon, Aerospace Engineering Services > "If you can make it, We can fake it!" This is of course the Algol-68 approach, and I think even the Algol-68 designers regard it as a horrible mistake. One should only rely on precedence of operators where the precedence rules are clear and obvious. This cannot be the case by definition for user defined precedences. Sent via Deja.com http://www.deja.com/ Before you buy.