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,d927b7ea9b65580a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-28 04:52:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!news-FFM2.ecrc.net!news.iks-jena.de!not-for-mail From: Lutz Donnerhacke Newsgroups: comp.lang.ada Subject: Re: Style: always declare subrountines? Date: Thu, 28 Nov 2002 12:52:41 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <3dccc023$0$304$bed64819@news.gradwell.net> <3DD847CD.A3D78EE9@adaworks.com> <3DE5F0BB.E7D21384@brighton.ac.uk> NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1038487961 4144 217.17.192.37 (28 Nov 2002 12:52:41 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Thu, 28 Nov 2002 12:52:41 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:31282 Date: 2002-11-28T12:52:41+00:00 List-Id: * John English wrote: > accessed from the body of a public package. What would be nice to > be able to do sometimes is: > > with P.Implementation; > package P.Public is > type T is private; > ... > private > type T is > record > X : P.Implementation.Stuff; > end record; > end P.Public; > > Unfortunately P.Implementation can't be a private package here. How should the P.Public user know how an element of type T has to be allocated? If you only change P.Implementation, the body of P.Public has to be recompiled, but not the parts depending on P.Public only.