From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9afe16648c0a7435 X-Google-Attributes: gid103376,public From: fraser@sinopsis.com (Fraser Wilson) Subject: Re: Problem Compiling with GNAT Date: 1999/03/19 Message-ID: <921863067.365.64@news.remarQ.com>#1/1 X-Deja-AN: 456556311 References: <7cj6nt$rvh$1@nnrp1.dejanews.com> <7cjm4g$avo$1@nnrp1.dejanews.com> <7ck8pk$2co$1@remarQ.com> <7cl2dl$sai$1@platane.wanadoo.fr> X-Complaints-To: newsabuse@remarQ.com X-Trace: 921863067.365.64 KZBGBQC4S164892E1C usenet1.supernews.com Organization: Vegetarian Ada Programmers NNTP-Posting-Date: Fri, 19 Mar 1999 17:04:27 GMT Newsgroups: comp.lang.ada Originator: fraser@titanic Date: 1999-03-19T00:00:00+00:00 List-Id: 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)