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 11:15:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!in2p3.fr!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 19:21:46 +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 1078168232 92509 212.85.156.195 (1 Mar 2004 19:10:32 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 1 Mar 2004 19:10:32 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: User-Agent: KMail/1.4.3 In-Reply-To: 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:5985 Date: 2004-03-01T19:21:46+00:00 On Monday 01 March 2004 18:41, Preben Randhol wrote: > On 2004-03-01, Marius Amado Alves wrote: > > Ok, I found Ada Issue 115, which clarifies that "a language-defined > > generic package may be instantiated at any nesting depth." > > > > I'm still in the dark regarding unbounded strings though, as > > Ada.Strings.Unbounded is not generic. > > What do you mean? If you look at the GNAT sources for example, you'll find that Unbounded_S= tring=20 is controlled. And yet you can declare an unbounded string inside a 'main= '=20 program. Try pulling that out with your own controlled type.