comp.lang.ada
 help / color / mirror / Atom feed
From: "Dan'l Miller" <optikos@verizon.net>
Subject: Re: Ada Distilled by Richard Riehle
Date: Sat, 28 Jul 2018 09:05:44 -0700 (PDT)
Date: 2018-07-28T09:05:44-07:00	[thread overview]
Message-ID: <e95d14ce-b0c6-4015-b859-f62efe0ce826@googlegroups.com> (raw)
In-Reply-To: <pji2rt$1odu$1@gioia.aioe.org>

On Saturday, July 28, 2018 at 10:41:53 AM UTC-5, Dmitry A. Kazakov wrote:
> On 2018-07-28 17:01, Dan'l Miller wrote:
> > Btw, because T2 is an extended tagged T1 and because S2 is an extended tagged S1, I think an alternate syntax would be expressive and useful for this special case as well instead of the explicitly-itemized same-named variants above.  Note however that (just like in PL/I GENERIC) union can confederate any types, not merely tagged types and not merely tagged-type extensions in a 'Class tree.
> > 
> >      type UT is union (T1'Class);     -- a blend of Algol68 UNION and Ada95 'Class
> >      type US is union (S1'Class);     -- a blend of Algol68 UNION and Ada95 'Class
> 
> That does not make sense because T1'Class is a singular type. For the 
> set of types rooted in T1 there is no name in Ada, since it does not 
> have types of types.

Well, Dmitry, you had better get busy correcting all the factually-incorrect Ada reference material out there an planet Earth, letting them know the error of their ways.  Here are some places to start your correction campaign of lots of emails to write and lots of telephone calls to make:

https://en.wikibooks.org/wiki/Ada_Programming/Object_Orientation#Terminology
“Class (of types) [plural] : a tree [!] of classes, rooted by a base class and including all the (recursively-)derived classes of that base class”

http://adapower.com/index.php?Command=Class&ClassID=FAQ&CID=352
“class is a set [!] of types [plural!] with similar values and operations; in particular, ••a type and and all [!] of its derivatives [!], direct and indirect••, represents a (derivation) class.”

  reply	other threads:[~2018-07-28 16:05 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-15 18:09 Ada Distilled by Richard Riehle rabbibotton
2018-07-16  1:02 ` Shark8
2018-07-21  6:07   ` Randy Brukardt
2018-07-26  0:42     ` rabbibotton
2018-07-26 20:17       ` Shark8
2018-07-26 21:10         ` Jeffrey R. Carter
2018-07-27  3:01           ` Paul Rubin
2018-07-27 14:32           ` rabbibotton
2018-07-27 20:18             ` Paul Rubin
2018-07-27 17:02           ` Shark8
2018-07-27 14:30         ` rabbibotton
2018-07-27 17:11           ` Shark8
2018-07-27 18:52             ` Dan'l Miller
2018-07-27 20:07               ` Dmitry A. Kazakov
2018-07-27 20:38                 ` Dan'l Miller
2018-07-27 21:32                   ` Dmitry A. Kazakov
2018-07-28  2:41                     ` Dan'l Miller
2018-07-28  7:10                       ` Dmitry A. Kazakov
2018-07-28 15:01                         ` Dan'l Miller
2018-07-28 15:41                           ` Dmitry A. Kazakov
2018-07-28 16:05                             ` Dan'l Miller [this message]
2018-08-06 19:33                             ` Vincent
2018-08-06 22:01                               ` Dmitry A. Kazakov
2021-12-09 11:13                                 ` Kevin Chadwick
2018-07-27 21:34                 ` Shark8
2018-07-27 22:16                   ` Dmitry A. Kazakov
2018-07-28  3:52                 ` Dan'l Miller
2018-07-28  7:12                   ` Dmitry A. Kazakov
2018-07-27 20:35               ` Paul Rubin
replies disabled

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