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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a644fa9cd1a3869a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-09 20:20:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BECAAE8.62110AFC@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.2 References: <3BECA3B7.5020702@telepath.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 10 Nov 2001 04:20:08 GMT NNTP-Posting-Host: 209.86.205.213 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1005366008 209.86.205.213 (Fri, 09 Nov 2001 20:20:08 PST) NNTP-Posting-Date: Fri, 09 Nov 2001 20:20:08 PST Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Fri, 09 Nov 2001 20:15:58 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:16194 Date: 2001-11-10T04:20:08+00:00 List-Id: This looks pretty good. Index is OK, though I think Position or Location would be better. I still think the declarations are reversed, and the operations using Index should come before the dequeue- and string-like operations. You have left a reference to Done_Iterating in the comments. Inserting one list into another seems like overkill. If we're going to have that kind of operation, perhaps we should include something like type Bunch_O_Elements is array (Positive range <>) of Element; -- :) function Make (Elements : Bunch_O_Elements) return List; Primes : Int_List.List := Int_List.Make ((2, 3, 5, 7, 11, 13)); -- Jeff Carter "Son of a window-dresser." Monty Python & the Holy Grail