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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 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 13:20:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: List container: Insert and Delete Date: Mon, 12 Nov 2001 15:36:23 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9spbs9$ieg$1@nh.pace.co.uk> References: <9sn4qm$13g29j$2@ID-25716.news.dfncis.de> <9sok8i$142am0$2@ID-25716.news.dfncis.de> <3BF004F4.F74AE461@boeing.com> <9sp5up$g5o$1@nh.pace.co.uk> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1005597385 18896 136.170.200.133 (12 Nov 2001 20:36:25 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 12 Nov 2001 20:36:25 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:16372 Date: 2001-11-12T20:36:25+00:00 List-Id: Not all functions need to be provided by the package. A caller knows how big a list it asked for in the event of a Bounded List. It should be able to determine from the package how many elements are on the list (bounded or unbounded). How_Full is determined by current size and what you requested, so (as a mathematician friend of mine was always fond of saying) A Solution Does Exist. A basic list package need not be all things to all users. If there is some value in making a Bounded and an Unbounded package as similar as possible, I think you could get *real* close to identical. However, even Ada.Strings.* each have significant differences in the operations they provide, so as long as there is a good deal of "orthogonality" and similarity between them, I think we end up with a marketable product. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Larry Kilgallen" wrote in message news:Gg93G3qLfuKE@eisner.encompasserve.org... > > Is_Full (List) is appropriate for some applications, but others > require How_Full (List). While that is particularly meaningful > for Bounded lists, it should be present for Unbounded lists to > provide compatibility. >