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-02 10:12:17 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3BE2E1DD.EE0078C7@Raytheon.com> From: Mark Johnson X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: List container strawman References: <9rti6v$hcu$1@news.huji.ac.il> <1EyE7.10050$xS6.13527@www.newsranger.com> <9rue9f$j4t$1@nh.pace.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 02 Nov 2001 12:11:42 -0600 NNTP-Posting-Host: 192.27.48.44 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1004724736 192.27.48.44 (Fri, 02 Nov 2001 12:12:16 CST) NNTP-Posting-Date: Fri, 02 Nov 2001 12:12:16 CST Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:15682 Date: 2001-11-02T12:11:42-06:00 List-Id: Ted Dennison wrote: > [snip] 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. Examples of a list (or nested) of lists... - represent the nested scope of names (e.g., A.X.3) or other items - a sparse array implementation (2d or 3d...) - associative lookups of data are a few that come off the top of my head. I kept thinking of LISP when I thought of other applications as well. Not to say there are not better algorithms to implement such capabilities, but you will likely be surprised at what people come up with. --Mark