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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: quantified expression with empty array? Date: Fri, 9 Mar 2018 20:41:15 +0200 Organization: Tidorum Ltd Message-ID: References: <8279f333-07ec-4477-a175-7c033b2424aa@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net /+PYOIf+6MPBVPV3feyDBw0BEh78NBNnXg5g/ufBccenHPGCkw Cancel-Lock: sha1:28YSHiRa7dd4iGNYMz0pg131Z28= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <8279f333-07ec-4477-a175-7c033b2424aa@googlegroups.com> Xref: reader02.eternal-september.org comp.lang.ada:50914 Date: 2018-03-09T20:41:15+02:00 List-Id: On 18-03-09 19:15 , Stephen Leake wrote: > I ran across this question recently: > > If I have a quantified expression: > > (for some Child of Children => Predicate (Child)) > > what is the value if Children'Length = 0? > > ARM 2012 4.5.8 8/4, 9/4 talk about evaluating the predicates, but in > this case there are no predicates to evaluate. AARM 4.5.8 adds, for a "some" expression: 9.a/3 Ramification: The expression is False if the domain contains no values. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .