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,93ab7fc5388e249 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-05 08:53:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjcppf01!usenetserver.com!newsfeeder.randori.com!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3C0E1E7E.CA7113F4@brighton.ac.uk> Subject: Re: List container strawman 1.3 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: Wed, 05 Dec 2001 11:53:12 EST Organization: http://www.newsranger.com Date: Wed, 05 Dec 2001 16:53:12 GMT Xref: archiver1.google.com comp.lang.ada:17455 Date: 2001-12-05T16:53:12+00:00 List-Id: In article <3C0E1E7E.CA7113F4@brighton.ac.uk>, John English says... Arg! About 2/3's of my reply to this seems to have gotten cut off. Perhaps that's not such a bad thing, but I really should address John's second point. >2) Would it also be a good idea to have a default value of Forward > (whichever of Front and Back that corresponds to) for all Direction > parameters? If we do this for the end insertion/deletion routines, we bias this package towards being either a stack or a queue (stack if they are both the same value). I suppose one possible middle postion would be to default insertion to go on the "back", but not to put a default on remove. "Side" wouldn't seem to have a natural default either. "Next" probably should have a default. I'd think "Toward=>Lists.Back" would be the natural one. Defaulting the end insertion routine to use "Back" would put more teeth in this argument. The rest have defaults already. --- 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.