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.36.179.70 with SMTP id z6mr8310175iti.36.1510675095880; Tue, 14 Nov 2017 07:58:15 -0800 (PST) X-Received: by 10.157.39.197 with SMTP id c63mr632270otb.11.1510675095728; Tue, 14 Nov 2017 07:58:15 -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!peer02.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!l196no3364064itl.0!news-out.google.com!193ni3197iti.0!nntp.google.com!m191no2786254itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 14 Nov 2017 07:58:15 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:191:8303:2100:511:c903:74cf:caed; posting-account=fdRd8woAAADTIlxCu9FgvDrUK4wPzvy3 NNTP-Posting-Host: 2601:191:8303:2100:511:c903:74cf:caed References: <6a5368c5-f015-4dcb-9291-e77b40fa1bf1@googlegroups.com> <39330489-ec8b-481f-bcff-a5b7d1a2d8e3@googlegroups.com> <7c68eace-8a03-4bfc-806d-aa78a453f97f@googlegroups.com> <2b37d831-4469-4778-b320-4048da505de3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: some trivial questions? From: Robert Eachus Injection-Date: Tue, 14 Nov 2017 15:58:15 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Body-CRC: 14116327 X-Received-Bytes: 2608 Xref: feeder.eternal-september.org comp.lang.ada:48886 Date: 2017-11-14T07:58:15-08:00 List-Id: On Friday, November 10, 2017 at 10:54:40 AM UTC-5, Dmitry A. Kazakov wrote: > On 2017-11-10 16:47, Robert A Duff wrote: > > AdaMagica writes: > >=20 > >> Ahem - what about the main subprogram? > >=20 > > All subprograms, including the main one, should be > > inside packages. >=20 > Could main considered a separate body of the package Ada? No, it is a descendant of Standard. See 10.1.1(10). Better is the note in = 8.1(17): As explained above and in 10.1.1, =E2=80=9CCompilation Units - Li= brary Units=E2=80=9D, all library units are descendants of Standard, and so= are contained in the declarative region of Standard. They are not inside t= he declaration or body of Standard, but they are inside its declarative reg= ion. Clear? Right. But it matters in tasking, distributed programs, and early = in elaboration of a program.