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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,229b63b453788905 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.85.71 with SMTP id f7mr1850330paz.39.1344340537792; Tue, 07 Aug 2012 04:55:37 -0700 (PDT) Path: c10ni91079pbw.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Marius Amado-Alves Newsgroups: comp.lang.ada Subject: Re: Sledgehammer Indexing Tools Date: Tue, 7 Aug 2012 04:55:36 -0700 (PDT) Organization: http://groups.google.com Message-ID: <37c0bb91-956f-4f82-a52f-b269748c0201@googlegroups.com> References: <4ec110af-691d-4100-8cd8-b99efda5351b@googlegroups.com> <9ccd79a7-df35-4854-97de-a35554b963f0@googlegroups.com> NNTP-Posting-Host: 188.82.45.163 Mime-Version: 1.0 X-Trace: posting.google.com 1344340537 18892 127.0.0.1 (7 Aug 2012 11:55:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Aug 2012 11:55:37 +0000 (UTC) In-Reply-To: <9ccd79a7-df35-4854-97de-a35554b963f0@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.82.45.163; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-08-07T04:55:36-07:00 List-Id: > > In - for example - external_lookup.ads, you've "use"d several of your > > own packages. I'd think that you can reasonably expect readers to know > > the standard library (for example, Indefinite_Vectors), but how can they > > know where Occurrences is defined? > That I don't understand.They are defined in the respective source packages. In WHICH one? That's the problem. Don't use "use". Use full qualification ... The_Package_Where.Occurrences_Is_Defined.Occurrences ... or renaming package TPWOID renames The_Package_Where.Occurrences_Is_Defined; ... ... TPWOIS.Occurrences or a single "use" in a block declare use The_Package_Where.Occurrences_Is_Defined; begin ... Occurences ... or only "use type" (also in a block) if you only need some operators. (I have not looked at the specific code.)