From: fraser@sinopsis.com (Fraser Wilson)
Subject: Re: Problem Compiling with GNAT
Date: 1999/03/19
Date: 1999-03-19T00:00:00+00:00 [thread overview]
Message-ID: <921863067.365.64@news.remarQ.com> (raw)
In-Reply-To: 7cl2dl$sai$1@platane.wanadoo.fr
paene lacrimavi postquam Jean-Pierre Rosen scribavit:
>I agree that the notation may seem odd in isolation. However, it is
>easy to enforce, shows which type is the "main" type in a package, and
>is consistent with the fact that a "class" in Ada is not a type, but a
>package used in a certain way.
Well, that was probably the problem I had. At the time I was picking
coding styles pseudo-randomly, until I found one that fit. It tends to
make the result somewhat, well, mish-mashed.
>Moreover (and foremost), it is the only convention I could find which
>is consistent when you use "facet" generic packages, i.e. packages
>that create new tagged types from imported ones.
I'm not sure I understand this --- what you're saying is that the generic
can't possibly provide a meaningful type name, because unlike a standard
type that's declared in a generic package, the generic itself doesn't
know exactly what the type is going to do; it merely adds some functionality
to it. In this case, fair call.
Fraser.
(change i's to y's for my real email address)
next prev parent reply other threads:[~1999-03-19 0:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-15 0:00 Problem Compiling with GNAT Larry
1999-03-15 0:00 ` Matthew Heaney
1999-03-15 0:00 ` Larry
1999-03-16 0:00 ` fraser
1999-03-16 0:00 ` Brian Rogoff
1999-03-16 0:00 ` Matthew Heaney
1999-03-16 0:00 ` Jean-Pierre Rosen
1999-03-16 0:00 ` Matthew Heaney
1999-03-19 0:00 ` Fraser Wilson [this message]
1999-03-16 0:00 ` Larry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox