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,a85dd10bdbdb69d4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-10 07:54:52 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!peer1.news.newnet.co.uk!newsfeed.wirehub.nl!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!ash.uu.net!world!news From: Robert A Duff Subject: Re: Giving a package specification access to the private types of another package User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Tue, 10 Dec 2002 15:54:29 GMT Content-Type: text/plain; charset=us-ascii References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Organization: The World Public Access UNIX, Brookline, MA Xref: archiver1.google.com comp.lang.ada:31645 Date: 2002-12-10T15:54:29+00:00 List-Id: news01+Steven.Murdoch@cl.cam.ac.uk (Steven Murdoch) writes: >... A is used by B and by no other package, > all of the procedures in A are used by B. Then A is really part of the implementation of B, so it should be "private package B.A is...". You can also use subunits, but child packages are a bit more flexible. - Bob