comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adambeneschan@gmail.com>
Subject: Re: Comments requested for a couple of Ada-Comments submissions
Date: Fri, 11 Jul 2014 10:55:49 -0700 (PDT)
Date: 2014-07-11T10:55:49-07:00	[thread overview]
Message-ID: <f8bc1877-bc06-43a9-bc92-82783dec7741@googlegroups.com> (raw)
In-Reply-To: <c2al2lFj394U1@mid.individual.net>

On Friday, July 11, 2014 10:26:44 AM UTC-7, Niklas Holsti wrote:

> >     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)

Something like this would be clearer:

    (C => D, E => F, others from A)

Unfortunately "from" isn't a reserved word and is already used as a parameter name in many language-defined packages.

So now I'm looking at the reserved word list to see if there's a way to use existing reserved words to convey this concept in an English-like fashion.

    (C => D, E => F, others out of A)

    (C => D, E => F, use all others in A)

But those are the best I could come up with.  (OK, I'm not really serious here.  But I do see your point about A.others.)

                           -- Adam


  reply	other threads:[~2014-07-11 17:55 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
2014-07-11 17:55       ` Adam Beneschan [this message]
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