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 11:19:11 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!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 13:46:34 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9rupm1$nub$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> <3BE2E1DD.EE0078C7@Raytheon.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1004726785 24523 136.170.200.133 (2 Nov 2001 18:46:25 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 2 Nov 2001 18:46:25 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:15688 Date: 2001-11-02T18:46:25+00:00 List-Id: Or a Unix/WinNT directory - that could be modeled as a list of lists of lists of... (Sounds like recursion to me...) Its something that would be nice to be able to do, but its not necessarily something that won't have its own drawbacks. We can't expect everything out of one little list package, so maybe we take a cut at what is possible and think about alternate designs as possible additions. Maybe thats an indication of a need for alternate list packages - or possibly other data structures like trees? 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/ "Mark Johnson" wrote in message news:3BE2E1DD.EE0078C7@Raytheon.com... > > 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.