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,ce0900b60ca3f616 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-02 07:40:18 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 strawman Date: Fri, 2 Nov 2001 09:57:25 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9ruc8c$i68$1@nh.pace.co.uk> References: <9rti6v$hcu$1@news.huji.ac.il> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1004713036 18632 136.170.200.133 (2 Nov 2001 14:57:16 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 2 Nov 2001 14:57:16 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:15654 Date: 2001-11-02T14:57:16+00:00 List-Id: Limited private sounds like a good idea to me - with operations to assign one list to another via duplication. One other thing: Allow me publically to display my ignorance. If Element is private, how does this play with tagged records? I know there is a "tagged private" formal type - but I've never played with it so I don't know what the implications are for that. If the Element type is "private" only and this precludes some things, that's probably O.K. for a first cut - it would let you pile up most of the basic data types and so would be useful. Just wondering how the tagged private thing works. 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/ "Ehud Lamm" wrote in message news:9rti6v$hcu$1@news.huji.ac.il... > > 2. Why is List private? Shouldn't it be limited private, so we avoid > possible erros caused by aliasing? > We may need a private implementation, but I'd prefer this not to be the > default, since it can come and bite you when you don't know what you are > doing. The private version is for library builders and more advanced users, > best used as part of a layered design that hides the list itself. > (If the majority wants private, at least the spec should mention the > possbile problems) >