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,7332b19c66a79eea X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Quantified Expressions: "some" Date: Wed, 17 Nov 2010 10:25:35 +0200 Organization: Tidorum Ltd Message-ID: <8khhs0F22oU1@mid.individual.net> References: <4ce31bb6$0$7670$9b4e6d93@newsspool1.arcor-online.net> <2d44ff4d-b3ad-4593-8492-4d16fb6b6a2e@j2g2000yqf.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net lqlv9EA4YuT922QHpdNjZg9vIYlk1ZFhLhzkX+Rwzzh/JJafk1 Cancel-Lock: sha1:heJ+RVcPSnXo6tZKRUfRmEiMfuM= User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) In-Reply-To: <2d44ff4d-b3ad-4593-8492-4d16fb6b6a2e@j2g2000yqf.googlegroups.com> Xref: g2news2.google.com comp.lang.ada:16507 Date: 2010-11-17T10:25:35+02:00 List-Id: AdaMagica wrote: > On 17 Nov., 01:03, Georg Bauhaus > wrote: >> (for all X in domain | P (X)) >> (for some X in domain | P (X)) > These are the Ada expressions for the mathematical "all" and > "existence" quantifiers and read quite naturally. > > Draft 10 of RM 2010 defines some as a new reserved word. > >> (for when X in domain | P (X)) > > This is silly English, and when I try to make sense of it, I arrive at > the all quantifier. So I think, just for avoiding a new reserved word, > this is a very bad proposal. Among the existing keywords, "select" has nearly, but not quite, the right meaning: (for select X in domain | P (X)) But it would be better as "selected", and if a new word must be reserved, I agree that "some" is best. Although it is yet another nice, short, expressive word that will then be forbidden us for use as an identifier. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .