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,a3736685ef876ab2 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!v4g2000hsf.googlegroups.com!not-for-mail From: braver Newsgroups: comp.lang.ada Subject: Re: OO Style with Ada Containers Date: Thu, 15 Nov 2007 02:36:07 -0800 (PST) Organization: http://groups.google.com Message-ID: <4e65cf83-b296-497f-848e-59d543c19a46@v4g2000hsf.googlegroups.com> References: <1195082906.420079.195000@d55g2000hsg.googlegroups.com> <1195084214.480299.13970@t8g2000prg.googlegroups.com> <1195084752.840598.174460@v65g2000hsc.googlegroups.com> <1195086265.070953.93180@d55g2000hsg.googlegroups.com> <87oddv3l55.fsf@ludovic-brenta.org> NNTP-Posting-Host: 213.145.45.128 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1195122967 11419 127.0.0.1 (15 Nov 2007 10:36:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 15 Nov 2007 10:36:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v4g2000hsf.googlegroups.com; posting-host=213.145.45.128; posting-account=V2cESwoAAACnN32CFvmyu4DCs-heiisG User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.24 (Macintosh; Intel Mac OS X; U; en),gzip(gfe),gzip(gfe) Content-Disposition: inline Xref: g2news1.google.com comp.lang.ada:18420 Date: 2007-11-15T02:36:07-08:00 List-Id: Ludovic -- cool! What about the issue with the cursors operations' full names -- does one really have to enact `use' clauses to abbreviate them? For an object of a tagged type, like Ngram_Counts, I only need to declare it with the long name of its package type, then employ prefix notation on the object itself. Since cursors don't resond to prefix, I'd have to refer to things like Next(Cursor) for them either with full names like WC.Next or do `use'. Can we iterate through all elements in a collection with solely prefix notation? Cheers, Alexy