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-12 18:16:29 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!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BF0827A.DCF2213C@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: Insert and Delete 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 13 Nov 2001 02:16:26 GMT NNTP-Posting-Host: 209.86.209.203 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1005617786 209.86.209.203 (Mon, 12 Nov 2001 18:16:26 PST) NNTP-Posting-Date: Mon, 12 Nov 2001 18:16:26 PST Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Mon, 12 Nov 2001 18:12:22 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:16392 Date: 2001-11-13T02:16:26+00:00 List-Id: Marin David Condic wrote: > > Well, a "full list" would have meaning for an unbounded list if you could no > longer allocate memory for it - Storage_Error. So if both handled it by way > of raising an exception or some test for sufficient memory, then either > could have a function "Is_Full (List)" or require handling of "exception > Overflow;". The difference, of course, is that you can provide an Is_Full function for a bounded list, but not for an unbounded list. In both cases an exception should be raised if an attempt is made to add an element when that is not possible. -- Jeff Carter "If you think you got a nasty taunting this time, you ain't heard nothing yet!" Monty Python and the Holy Grail