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,8b8748382fcfacc1 X-Google-Attributes: gid103376,public From: "David Botton" Subject: Re: friend classes in ada95 Date: 2000/04/17 Message-ID: #1/1 X-Deja-AN: 612385492 References: <38F6B617.34E216A7@emw.ericsson.se> <38F887AE.8CDA24E0@acm.org> <8dc8oi$kda$1@nnrp1.deja.com> <8df6fb$mm3$1@nnrp1.deja.com> X-Priority: 3 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: support@usenetserver.com Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. X-MSMail-Priority: Normal NNTP-Posting-Date: Mon, 17 Apr 2000 16:30:40 EDT Newsgroups: comp.lang.ada Date: 2000-04-17T00:00:00+00:00 List-Id: The relation to Jean's proposal is the use of the prefix class instead of tagged. My additions if I can relate them well enough for some one to understand (and perhaps that person would re-write it in a more formal language that captures the idea, as I am lacking in that department, but always ready to work on it.) are: The interface section : class type X is new Y with interface A, B record new_var : abc; end record; This designates that class type X (aka tagged type X) implements interfaces A and B. It also states that objects of class type X may be cast to objects of type A'Class and B'Class where A and B are (see below) interface types. The interface type: interface type A; or interface type A is new F; This designates an abstract tagged type used to define the subprograms for the interface. David Botton Robert Dewar wrote in message news:8df6fb$mm3$1@nnrp1.deja.com... > I find your proposal very confusing, and I perfectly understand > interface inheritance. I think you need to properly fill out > your proposal and describe it in RM terms so that we can have > some chance of understanding what you are talking about. > > It looks like a real mishmash of ideas to me, but perhaps that's > because it is unclear.