From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: Is T an ancestor of T?
Date: Wed, 20 Oct 2004 23:33:33 GMT
Date: 2004-10-20T23:33:33+00:00 [thread overview]
Message-ID: <hBCdd.6699$d5.56164@newsb.telia.net> (raw)
In-Reply-To: <cl6m1s$8lq$1@a1-hrz.uni-duisburg.de>
Georg Bauhaus wrote:
> So we know there is exactly one ultimate ancestor for each type T.
> If T is at the root of a derivation hierarchy of height 0,
> is there a named type that is the ultimate ancestor of T?
> Is it T? By 10.d I would say yes.
Yes.
> By the last sentence of (10),
> the ultimate ancestor (T) "is not a descendant of any other type".
> So if T is the ultimate ancestor, it is not a descendant of T.
> Which it is by the first sentence of (10).
> I must be missing something. Specific types?
Maybe it's the word "other" you're missing? If it read "not a descendant
of any type", then there would be a contradiction as you say, but it
reads "not a descendant of any *other* type". "Other" must mean "other
than itself".
> Then if D is new T with ..., is T the ultimate ancestor of D?
> (Again I would agree that it is.)
Yes.
> If T is the ultimate ancestor of T (and T is the ultimate
> ancestor of D if D had been defined), can GNAT be right when
> (T with n => 0) is accepted as an extension aggregate of specific
> type T? I still don't think so.
Me neither.
By the way, did you notice that class-wide types aren't ancestors or
descendants of themselves?
--
Björn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
next prev parent reply other threads:[~2004-10-20 23:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-18 5:55 Is T an ancestor of T? Christoph Karl Walter Grein
2004-10-20 14:02 ` Georg Bauhaus
2004-10-20 16:18 ` Björn Persson
2004-10-20 21:41 ` Georg Bauhaus
2004-10-20 23:33 ` Björn Persson [this message]
2004-10-22 2:27 ` Georg Bauhaus
2004-10-23 16:55 ` Björn Persson
2004-10-26 0:37 ` Randy Brukardt
-- strict thread matches above, loose matches on Subject: below --
2004-10-12 1:31 record extension aggregate for returned type legal? Georg Bauhaus
2004-10-12 8:04 ` Martin Krischik
2004-10-12 14:36 ` Georg Bauhaus
[not found] ` <1940150.rU8f1KaX3L@linux1.krischik.com>
2004-10-12 20:24 ` Georg Bauhaus
2004-10-13 7:52 ` Martin Krischik
[not found] ` <ckjlhm$2hh$1@a1-hrz.uni-duisburg.de>
[not found] ` <ukhbd.106086$dP1.396181@newsc.telia.net>
2004-10-14 0:29 ` Is T an ancestor of T? Georg Bauhaus
2004-10-14 8:54 ` Is T an ancestor of T? (was: Re: record extension aggregate for returned type legal?) Martin Krischik
[not found] ` <ckot3m$hek$1@a1-hrz.uni-duisburg.de>
2004-10-15 16:55 ` Is T an ancestor of T? Martin Krischik
2004-10-15 17:19 ` Georg Bauhaus
2004-10-16 14:37 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox