comp.lang.ada
 help / color / mirror / Atom feed
From: Tucker Taft <stt@averstar.com>
Subject: Re: One type for all
Date: 1999/07/19
Date: 1999-07-19T00:00:00+00:00	[thread overview]
Message-ID: <3793449B.6622DA6D@averstar.com> (raw)
In-Reply-To: 7mttci$edv$1@nnrp1.deja.com

Robert Dewar wrote:
> ...
> So thanks, it is indeed the case that Pascal does NOT have
> structural type equivalence, which is what I remembered (any
> other conclusion would have been a big surprise!)

I suspect the confusion comes from the early Pascal reports (e.g. <= 2nd ed.),
which were in fact ambiguous on the issue of type equivalence,
leading some implementations to choose name equivalence, and
others to choose structural equivalence.  For structured assignment,
it required the types to be "identical" but it didn't define
that in any rigorous way.  The ISO standard opted for name 
equivalence, but by that time, there were already
implementations using structural equivalence.  The initial ISO
standard was weak enough that it might not have been sufficient
to get all implementors to follow the official rules.

-- 
-Tucker Taft   stt@averstar.com   http://www.averstar.com/~stt/
Technical Director, Distributed IT Solutions  (www.averstar.com/tools)
AverStar (formerly Intermetrics, Inc.)   Burlington, MA  USA




  parent reply	other threads:[~1999-07-19  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3783E0D2.5D74243@boeing.com>
1999-07-08  0:00 ` One type for all czgrr
1999-07-09  0:00 ` Samuel T. Harris
1999-07-10  0:00   ` Ehud Lamm
1999-07-12  0:00     ` Samuel T. Harris
1999-07-12  0:00   ` Robert Dewar
1999-07-12  0:00     ` Larry Kilgallen
1999-07-17  0:00       ` Robert Dewar
1999-07-18  0:00         ` Keith Thompson
1999-07-19  0:00           ` Robert Dewar
1999-07-18  0:00             ` Keith Thompson
1999-07-19  0:00             ` Tucker Taft [this message]
1999-07-19  0:00             ` Robert A Duff
1999-07-20  0:00               ` Robert Dewar
1999-07-20  0:00             ` Bill Findlay
1999-07-18  0:00         ` Samuel T. Harris
1999-07-12  0:00     ` Samuel T. Harris
replies disabled

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