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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no 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 21:00:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3BECA3B7.5020702@telepath.com> <3BECAAE8.62110AFC@acm.org> Subject: Re: List container strawman 1.2 Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Fri, 09 Nov 2001 23:59:29 EST Organization: http://www.newsranger.com Date: Sat, 10 Nov 2001 04:59:29 GMT Xref: archiver1.google.com comp.lang.ada:16204 Date: 2001-11-10T04:59:29+00:00 List-Id: In article <3BECAAE8.62110AFC@acm.org>, Jeffrey Carter says... >Inserting one list into another seems like overkill. If we're going to It seemed that way to me too when suggested, but no one else said anything of the sort, and its easy enough to code up. I'm still unconvinced that this is something that folks would have to do a lot. >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)); :-) I seriously considered adding routines to convert between unbounded arrays and lists. I'd probably just name them "To" and "From" (which is what the same routines in Ada.Strings.Unbounded *should* have been named). --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.