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,8fdcbb4347c7f20a X-Google-Attributes: gid103376,public From: Dale Stanbrough Subject: Re: Instantiation of child generics? Date: 1996/07/30 Message-ID: <4tkuv1$3jm@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 171019449 distribution: world references: <4t9itp$imd@goanna.cs.rmit.edu.au> content-type: text/plain; charset=ISO-8859-1 x-xxmessage-id: organization: Royal Melbourne Institute of Technology mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-07-30T00:00:00+00:00 List-Id: Robert A Duff writes: ">Also will my (re)use of the identifier "queue" in the packages cause any >problems for me? Should be OK, but I don't particularly like that style." ...where the style is defining a type name in an "abstract" package, and reusing the same name in concrete implementations in child packages. (e.g. abstract type "queue", concrete bounded type "queue" and concrete unbounded type "queue"). The benefits are that (if you use use) you can write your code myQ:queue; and get diff. implementations by changing the with clause. What problems do you forsee in doing this? Dale