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, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Is this a bug in my code or the compiler? Date: Mon, 15 Jun 2015 17:03:12 +0200 Organization: A noiseless patient Spider Message-ID: References: <4f4cd4b1-0a6d-441b-a4f7-98add70e4e1e@googlegroups.com> <1p71vf5ckbudu$.1qcb9ot1jpysk.dlg@40tude.net> <1g33axhwakrzx.o6t14iz4jruy.dlg@40tude.net> <12d47zawbqsu2$.fba3cmxkkrq1.dlg@40tude.net> <16cwc4uk0raxi.iinfpkn9sqid$.dlg@40tude.net> <5hn9aewmwxqo$.18v0zxdvy9ovz.dlg@40tude.net> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 15 Jun 2015 15:01:54 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b96887e80893c84a90c3007226ca0d1c"; logging-data="13032"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lTYtgY1+0PWb49AhJAVtLy86xaKw0hHc=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: Cancel-Lock: sha1:s4WkpNRfrxHvGd26MrTp0EcZNio= Xref: news.eternal-september.org comp.lang.ada:26330 Date: 2015-06-15T17:03:12+02:00 List-Id: On 15.06.15 16:56, Simon Wright wrote: > "Dmitry A. Kazakov" writes: > >> On Mon, 15 Jun 2015 13:31:33 +0100, Simon Wright wrote: >> >>> "Dmitry A. Kazakov" writes: >>> >>>> "+" (Right #> Y, Left #> X); >>>> >>>> #> reads evaluated left-to-right. >>> >>> "+" (Right => Y and then Left => X); >>> >>> maybe. >> >> "and then" could be ambiguous. > > ? It could be a little dangerous in general if there is a default parameter, (Right => Y and then Left >= X); Also, if there were permission to drop parentheses around a record literal in (Right => Y and then (Left => X)); if this were to make sense somehow.