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,ce0900b60ca3f616 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-15 17:27:37 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!fu-berlin.de!uni-berlin.de!ppp-1-25.cvx1.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: List container strawman Date: Fri, 16 Nov 2001 01:29:14 -0000 Message-ID: <9t1q26$16frj1$1@ID-25716.news.dfncis.de> References: <3BE29AF4.80804@telepath.com> <3BF1A33D.73DE084F@boeing.com> <9su0b3$l3m$1@nh.pace.co.uk> <3BF2A186.F1911068@boeing.com> <9subes$put$1@nh.pace.co.uk> <9svf7q$161cka$1@ID-25716.news.dfncis.de> <9t0ltq$1er$1@nh.pace.co.uk> NNTP-Posting-Host: ppp-1-25.cvx1.telinco.net (212.1.136.25) X-Trace: fu-berlin.de 1005874055 40365665 212.1.136.25 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:16605 Date: 2001-11-16T01:29:14+00:00 List-Id: Hah, it's pretty funny, Marin. You've made me spot an error in my just released proposal for the list package! I've declared the Abstract_List type limited, and it shouldn't be. Sorry, but my point (now ;-) would be that, whilst you can indeed do what you say, you wouldn't want to. Because lists are non-limited (hah :-) you can have a list of lists (etc.) without any problem. If you have a limited type, you don't want a list of objects of that type, you want a list of access values referencing them (e.g. consider a list of tasks). So, to sum up, I'm certain the data type (generic parameter) should be non-limited, so it can be copied without any sillyness. -- Best wishes, Nick Roberts