comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: ObjectAda vs Gnat -- bugs
Date: 1997/05/24
Date: 1997-05-24T00:00:00+00:00	[thread overview]
Message-ID: <EApBzG.AzH@world.std.com> (raw)
In-Reply-To: 3385E9F1.2915@gsfc.nasa.gov


In article <3385E9F1.2915@gsfc.nasa.gov>,
Stephen Leake  <Stephen.Leake@gsfc.nasa.gov> wrote:
>This is one reason why it is important to give references (to the
>reference manual, and/or the rationale) when you say "Ada 95 lets you do
>X". Those of us still learning need to go read the RM, to get more
>familiar with it. Or provide a reference to a popular book.

OK.  See RM-6.4(12) and 6.5(21).  And AARM-6.5(24.d) explains why.  The
fact that you can rename function results is just a side-effect -- it
wasn't the original purpose of the change.

Probably the language would be cleaner if every expression denoted an
object, and if the syntactic distinction between 'name' and 'expression'
were removed.  We considered doing that, but it seemed like a lot of
change for little benefit.

It would also be *useful*, in at least one case: I've sometimes wanted
to use a qualified_expression as an object name -- the purpose was to
resolve some otherwise-ambiguous name, but I couldn't do it, because I
didn't want the *value* of that object.

- Bob




  reply	other threads:[~1997-05-24  0:00 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-16  0:00 ObjectAda vs Gnat -- bugs Keith Thompson
1997-05-16  0:00 ` Robert A Duff
1997-05-16  0:00   ` Robert Dewar
1997-05-18  0:00     ` Nick Roberts
1997-05-19  0:00       ` Robert Dewar
1997-05-20  0:00         ` Nick Roberts
1997-05-21  0:00           ` Robert Dewar
1997-05-23  0:00   ` Stephen Leake
1997-05-24  0:00     ` Robert A Duff [this message]
1997-05-28  0:00       ` Stephen Leake
1997-05-30  0:00         ` Robert A Duff
1997-05-30  0:00           ` Matthew Heaney
1997-05-31  0:00             ` Robert A Duff
1997-05-30  0:00         ` Samuel Mize
  -- strict thread matches above, loose matches on Subject: below --
1997-05-30  0:00 John Walker
1997-05-19  0:00 tmoran
1997-05-19  0:00 ` Jon S Anthony
1997-05-20  0:00   ` Nick Roberts
1997-05-25  0:00     ` Tom Moran
1997-05-20  0:00   ` Jeff Carter
1997-05-15  0:00 granger
1997-05-15  0:00 ` Robert Dewar
1997-05-16  0:00   ` David L Brown
1997-05-16  0:00     ` Robert Dewar
1997-05-17  0:00       ` Tom Moran
1997-05-18  0:00         ` Jon S Anthony
1997-05-19  0:00         ` Tucker Taft
1997-05-19  0:00       ` Tom Moran
1997-05-15  0:00 ` Stephen Leake
1997-05-16  0:00   ` Tucker Taft
1997-05-16  0:00     ` Jon S Anthony
1997-05-16  0:00       ` Robert Dewar
1997-05-17  0:00         ` Jon S Anthony
1997-05-16  0:00       ` Tom Moran
1997-05-16  0:00   ` Jon S Anthony
1997-05-15  0:00 ` Samuel A. Mize
1997-05-15  0:00 ` Samuel A. Mize
1997-05-16  0:00 ` Robert A Duff
1997-05-16  0:00   ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox