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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9aa4352fa83d37dc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-01 10:39:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news2.telebyte.nl!gatel!gatel!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Marius Amado Alves Newsgroups: comp.lang.ada Subject: Re: library level required or not? Date: Mon, 1 Mar 2004 18:49:47 +0000 Organization: Cuivre, Argent, Or Message-ID: References: <200403011717.22528.maa@liacc.up.pt> Reply-To: amado.alves@netcabo.pt NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: melchior.cuivre.fr.eu.org 1078166316 88273 212.85.156.195 (1 Mar 2004 18:38:36 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 1 Mar 2004 18:38:36 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: User-Agent: KMail/1.4.3 In-Reply-To: <200403011717.22528.maa@liacc.up.pt> X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:5981 Date: 2004-03-01T18:49:47+00:00 Myself: > I have in my notes that an object, of a type declared in package Ada or > descendants, is not required to be defined at library level, even if th= e > type is controlled. (I know I can declare unbounded strings, which are > clearly controlled, in a 'main' procedure.) > > I vaguely recall deriving this rule from the RM, but now I cannot find = the > clause. Is the rule true? By what clause? Ok, I found Ada Issue 115, which clarifies that "a language-defined gener= ic=20 package may be instantiated at any nesting depth." I'm still in the dark regarding unbounded strings though, as=20 Ada.Strings.Unbounded is not generic.