From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Comments requested for a couple of Ada-Comments submissions
Date: Fri, 11 Jul 2014 20:26:44 +0300
Date: 2014-07-11T20:26:44+03:00 [thread overview]
Message-ID: <c2al2lFj394U1@mid.individual.net> (raw)
In-Reply-To: <aecf81df-dc39-4bbf-9990-c8367587daba@googlegroups.com>
On 14-07-11 18:35 , Adam Beneschan wrote:
> On Thursday, July 10, 2014 9:56:36 PM UTC-7, Shark8 wrote:
>
>>> One suggested syntax would be:
>>> A := (A changing C => D, E => F);
>>> or
>>> A := (A updating C => D, E => F);
>>> where A is a record and C and E are record components.
>
>> I don't really like the new keyword idea.
>
> A := (C => D, E => F, others => A.others);
To me, this looks too much like a normal aggregate. Only at the end,
from the new form "A.others", do we see that it is a partial aggregate.
Also, the duplication of the word "others" is a bit ugly, and "A.others"
does not really mean anything by itself; its meaning depends on the
components listed before the "others" part. How about:
(C => D, E => F, then others => A)
or
(C => D, E => F, and others => A)
--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
next prev parent reply other threads:[~2014-07-11 17:26 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-11 0:02 Comments requested for a couple of Ada-Comments submissions Simon Clubley
2014-07-11 0:30 ` Jeffrey Carter
2014-07-11 4:16 ` Randy Brukardt
2014-07-11 16:04 ` Niklas Holsti
2014-07-11 16:24 ` Dan'l Miller
2014-07-11 20:02 ` Simon Clubley
2014-07-12 5:52 ` Niklas Holsti
2014-07-11 4:26 ` Randy Brukardt
2014-07-11 7:05 ` Simon Clubley
2014-07-11 4:56 ` Shark8
2014-07-11 15:35 ` Adam Beneschan
2014-07-11 17:26 ` Niklas Holsti [this message]
2014-07-11 17:55 ` Adam Beneschan
2014-07-11 18:00 ` Simon Wright
2014-07-11 19:07 ` Georg Bauhaus
2014-07-11 19:10 ` Dmitry A. Kazakov
2014-07-11 19:16 ` Niklas Holsti
2014-07-11 19:35 ` Dmitry A. Kazakov
2014-07-11 21:24 ` Randy Brukardt
2014-07-11 21:46 ` Shark8
2014-07-11 19:30 ` Simon Clubley
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox