From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Quantified Expressions: "some"
Date: Wed, 17 Nov 2010 10:25:35 +0200
Date: 2010-11-17T10:25:35+02:00 [thread overview]
Message-ID: <8khhs0F22oU1@mid.individual.net> (raw)
In-Reply-To: <2d44ff4d-b3ad-4593-8492-4d16fb6b6a2e@j2g2000yqf.googlegroups.com>
AdaMagica wrote:
> On 17 Nov., 01:03, Georg Bauhaus <rm-host.bauh...@maps.futureapps.de>
> 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
. @ .
next prev parent reply other threads:[~2010-11-17 8:25 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 0:03 Quantified Expressions: "some" Georg Bauhaus
2010-11-17 6:31 ` AdaMagica
2010-11-17 8:25 ` Niklas Holsti [this message]
2010-11-17 12:29 ` Peter C. Chapin
2010-11-17 13:38 ` Georg Bauhaus
2010-11-17 10:46 ` Dmitry A. Kazakov
2010-11-17 12:05 ` (see below)
2010-11-17 13:38 ` Dmitry A. Kazakov
2010-11-17 14:16 ` Georg Bauhaus
2010-11-17 14:20 ` Dmitry A. Kazakov
2010-11-17 16:14 ` J-P. Rosen
2010-11-17 17:28 ` Dmitry A. Kazakov
2010-11-18 1:12 ` Randy Brukardt
2010-11-18 8:47 ` Dmitry A. Kazakov
2010-11-18 9:48 ` AdaMagica
2010-11-18 10:07 ` Dmitry A. Kazakov
2010-11-18 10:27 ` AdaMagica
2010-11-18 13:24 ` Niklas Holsti
2010-11-18 15:51 ` Georg Bauhaus
2010-11-18 17:58 ` Peter C. Chapin
2010-11-19 17:48 ` Georg Bauhaus
2010-11-19 17:51 ` Georg Bauhaus
2010-11-19 20:03 ` Vinzent Hoefler
2010-12-19 10:04 ` Andre
2010-11-17 11:33 ` stefan-lucks
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox