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,d10596e187e90822 X-Google-Attributes: gid103376,public From: dale@cs.rmit.edu.au (Dale Stanbrough) Subject: Re: Private Children Date: 1999/06/22 Message-ID: #1/1 X-Deja-AN: 492378089 References: <7klja3$c0p$1@nnrp1.deja.com> <376E70A5.F77E558D@averstar.com> <376E9EEB.322A3F39@averstar.com> <7kmoe4$o83@dfw-ixnews15.ix.netcom.com> X-Complaints-To: abuse@cs.rmit.edu.au X-Trace: emu.cs.rmit.edu.au 930025489 13410 131.170.66.210 (22 Jun 1999 04:24:49 GMT) Organization: RMIT NNTP-Posting-Date: 22 Jun 1999 04:24:49 GMT Newsgroups: comp.lang.ada Date: 1999-06-22T04:24:49+00:00 List-Id: Richard D Riehle wrote: " Thanks Tucker. This is a good idea. Also, consider, package P.Hidden_Level.Public_Level is type some-type is tagged private; -- some publicly exported services private ... end P.Hidden_Level.Public_Level ; package body P.Hidden_Level.Public_Level is -- implement exported services using the -- private services in the hierarchy since -- the body can see the private declarations -- of parent its units. end P.Hidden_Level.Public_Level;" It's still a bit ordinary though. The services offered in the public level can't rely on abstractions advertised in the private section, which I see as the major failure of this model. Dale