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, LOTS_OF_MONEY 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 09:07:48 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 11:43:17 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9ruiet$kqg$1@nh.pace.co.uk> References: <9rti6v$hcu$1@news.huji.ac.il> <1EyE7.10050$xS6.13527@www.newsranger.com> <9rue9f$j4t$1@nh.pace.co.uk> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1004719389 21328 136.170.200.133 (2 Nov 2001 16:43:09 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 2 Nov 2001 16:43:09 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:15673 Date: 2001-11-02T16:43:09+00:00 List-Id: If the List type is simply private, can it contain an element that is Controlled? In other words, is this a problem that can be covered up with just one more layer of indirection? I'm guessing that Ada.Strings.Unbounded has to do *something* fairly dynamic in its underlying implementation and it has to solve the problem of assignment along the way. That either means a) the problem can be solved from within the language or b) its done with smoke and mirrors behind the scenes. I'm guessing that A is likely to be the case, so perhaps a solution does exist? 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/ "Ted Dennison" wrote in message news:wVzE7.10194$xS6.14029@www.newsranger.com... > > I guess if the funcional stuff is going to remain in there, then it will have to > be a controlled type. That means that users won't be able to instantiate it from > within a subprogram (yuk!). If we *do* make it limited, then another issue I > just thought of is that we wouldn't be able to make lists of lists (we had > already decided that we won't allow limited list components). However, I can't > think of a good common use for lists of lists of the top of my head. >