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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-19 19:12:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-pas-nf2!elnk-pas-nf1!newsfeed.earthlink.net!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.gbronline.com!news.gbronline.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 19 Jun 2003 21:12:52 -0500 Date: Thu, 19 Jun 2003 21:13:37 -0500 From: Wesley Groleau Reply-To: wesgroleau@despammed.com Organization: Ain't no organization here! User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en, es-mx, pt-br, fr-ca MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 216.117.18.56 X-Trace: sv3-FN1JL91bRPWvZlnjBIKHPaGprFlHpWyrZIn0/7y8Bd02lflhX0YGhtq2Mxs0quGwHOKtRFjt0IYPbdN!Bebu+t2QtViycimRHHXbkvIhLCwnBPYu54ATAS8Usc0ny9koq+UvgcJLJd0oBsC3/fmGyp00oyvC!FV6W X-Complaints-To: abuse@gbronline.com X-DMCA-Complaints-To: abuse@gbronline.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:39471 Date: 2003-06-19T21:13:37-05:00 List-Id: > It would be the goofiest "+" operator around. If I write > > i := i + j + 1 > > what happens to j? IFF we allow "+" to be a procedure as well as a function, then, as a procedure, it can not return a result [1]. Therefore, neither "+" above could be the procedure. However, if we allow "+" to be a procedure, and allow it to be called with the syntax i + 1; then we would have to decide whether to allow i + j + 1; and if so, how to define its meaning. [1] Remember, in Ada, (unlike C), you cannot change a function to a procedure by discarding its result.