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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bfc24df595f18c1d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-16 16:52:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!attla2!ip.att.net!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail Message-ID: <3F67A207.7060007@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Interfaces and Generics? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.34.139.183 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc51.ops.asp.att.net 1063756325 24.34.139.183 (Tue, 16 Sep 2003 23:52:05 GMT) NNTP-Posting-Date: Tue, 16 Sep 2003 23:52:05 GMT Organization: Comcast Online Date: Tue, 16 Sep 2003 23:52:09 GMT Xref: archiver1.google.com comp.lang.ada:42587 Date: 2003-09-16T23:52:09+00:00 List-Id: chris wrote: > Hi, > > Will Ada 200x (Ada XP ;) ) revise generics for the new interfaces that > will be present? I expect so, but I thought I'd ask anyway. > > For example, will you be able to specify that a generic package only > deals with something that implements two (or more) given interfaces? If I understand you correctly, you would like to be able to say: generic type Foo is new A with B, C; package Bar is... If so, it is a very good question. I don't think it is currently part of the proposal. I am also not sure how useful it would be, but it would certainly be a good idea for orthogonality reasons. -- Robert I. Eachus "As far as I'm concerned, war always means failure." -- Jacques Chirac, President of France "As far as France is concerned, you're right." -- Rush Limbaugh