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,a644fa9cd1a3869a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-12 08:45:35 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.algonet.se!algonet!newsfeed1.uni2.dk!news.net.uni-c.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.2 Date: Mon, 12 Nov 2001 17:45:34 +0100 Organization: Centre for Chaos and Turbulence Studies, Niels Bohr Institute Message-ID: <3BEFFCAE.DCB5D136@nbi.dk> References: <3BECA3B7.5020702@telepath.com> <9sjf4n$odm$1@news.huji.ac.il> <3mcH7.20046$xS6.32571@www.newsranger.com> <3BED7AFD.737C2AE9@nbi.dk> NNTP-Posting-Host: alf.nbi.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.net.uni-c.dk 1005583534 34740 130.225.212.55 (12 Nov 2001 16:45:34 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Mon, 12 Nov 2001 16:45:34 +0000 (UTC) X-Mailer: Mozilla 4.78 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: fo,da,no,sv,is,de,fr,en Xref: archiver1.google.com comp.lang.ada:16333 Date: 2001-11-12T17:45:34+01:00 List-Id: Ted: Dennison wrote: > In article <3BED7AFD.737C2AE9@nbi.dk>, Jacob Sparre Andersen says... > >Isn't that only if the "index" is external to the list type? > > I'm not sure what you think the alternative would be. Perhaps each list gets one > and only one active iterator, whose current value is somehow a facet of the list > itself? Something like that. Not necessarily only one though. That would also help making sure that the iterator used actually matches the list. Jacob (who is a physicist, not a software engineer) -- The great LEGO building competition of the year: http://www.1000steine.de/themen/bauwettbewerb/