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-12 09:35:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3BECA3B7.5020702@telepath.com> <3bef920f@pull.gecm.com> <9soq34$be6$1@nh.pace.co.uk> 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: Mon, 12 Nov 2001 12:35:41 EST Organization: http://www.newsranger.com Date: Mon, 12 Nov 2001 17:35:41 GMT Xref: archiver1.google.com comp.lang.ada:16344 Date: 2001-11-12T17:35:41+00:00 List-Id: In article <9soq34$be6$1@nh.pace.co.uk>, Marin David Condic says... > >Lots of ways of handling that. I agree that there are cases where you want a >list to contain only one sample of a given element, but I'd prefer that the >instantiation doesn't force someone to make that decision and have to >provide parameters that may be unnecessary for the simple cases. It could Agreed. After a sort it should be pretty easy to identify (and then remove) dups. I'm not sure if its a common enough need to merit its own routine. I suppose a dup-removing sort could be introduced (as well as an Insert_Sorted_Unique that raises an exception for a Dup, or somesuch). Perhaps after enough of these, we'd have good material for Ehud's child package. :-) --- 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.