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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.59.5 with SMTP id i5mr8593830ioa.31.1510399933310; Sat, 11 Nov 2017 03:32:13 -0800 (PST) X-Received: by 10.157.42.99 with SMTP id t90mr162045ota.5.1510399933227; Sat, 11 Nov 2017 03:32:13 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!m191no399652itg.0!news-out.google.com!193ni4216iti.0!nntp.google.com!l196no974163itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 11 Nov 2017 03:32:12 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2003:c7:83c6:b02a:c1ba:c6bb:2212:15e3; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 2003:c7:83c6:b02a:c1ba:c6bb:2212:15e3 References: <6a5368c5-f015-4dcb-9291-e77b40fa1bf1@googlegroups.com> <39330489-ec8b-481f-bcff-a5b7d1a2d8e3@googlegroups.com> <7c68eace-8a03-4bfc-806d-aa78a453f97f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: some trivial questions? From: AdaMagica Injection-Date: Sat, 11 Nov 2017 11:32:13 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2589 X-Received-Body-CRC: 3619857313 Xref: feeder.eternal-september.org comp.lang.ada:48819 Date: 2017-11-11T03:32:12-08:00 List-Id: Am Freitag, 10. November 2017 20:34:19 UTC+1 schrieb Dmitry A. Kazakov: > On 2017-11-10 19:21, J-P. Rosen wrote: > > Le 09/11/2017 =C3=A0 21:05, Dmitry A. Kazakov a =C3=A9crit=C2=A0: > >> Also why should > >> > >> =C2=A0=C2=A0 with A.B.C.D; > >> > >> imply > >> > >> =C2=A0=C2=A0 with A, A.B, A.B.C; > > Because if you say you import a branch, then you import a full branch. >=20 > Why this logic does not apply to "use". When I say I use a branch don't= =20 > I import it? >=20 > > If you want to import a single (child) unit, say so: > > with A.B.C.D; > > package D_Alone renames A.B.C.D; > >=20 > > with D_Alone; >=20 > And what does that say about "explicit dependencies"? This certainly=20 > does not mean that the package no more depends on A, A.B, A.B.C, A.B.C.D. But the with-clause is not about dependence, it's only about visibility. package A is ...; with A; package B is ...; with B; package C is ...; C has visibility on B, not on A, but depends on A. Elaboration sequence is = about dependence.