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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,953e1a6689d791f6 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,953e1a6689d791f6 X-Google-Attributes: gid103376,public From: donh@syd.csa.com.au (Don Harrison) Subject: Re: Eiffel and Java + Ada dispatching Date: 1996/11/15 Message-ID: #1/1 X-Deja-AN: 196597989 sender: news@syd.csa.com.au x-nntp-posting-host: dev11 references: organization: CSC Australia, Sydney reply-to: donh@syd.csa.com.au newsgroups: comp.lang.eiffel,comp.lang.ada Date: 1996-11-15T00:00:00+00:00 List-Id: Jon S Anthony writes: :> :> type Some_Type is tagged limited private; :> :I meant "type Some_Type is new Other_Type with private". :In the first, "Some_Type" is the generic formal (like the T in Eiffel) :and could be instantiated with anything. Do you mean like the following? class X [T] ... -- unconstrained genericity. If so, this is different from what Bob Duff said. In the second you have the :same as the Eiffel, which to make it explicit would have been written: : : type T is new Some_Type with private. : :That's the same as the Eiffel constraint above... Same as Bob Duff. BTW, I'll check the RM. Don. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Don Harrison donh@syd.csa.com.au