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,88093378be1184d4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-08 02:51:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: List Container Straw Man Date: Thu, 8 Nov 2001 12:45:09 +0200 Organization: The Hebrew University of Jerusalem Message-ID: <9sdnva$dpk$1@news.huji.ac.il> References: <9s941p$11mrei$4@ID-25716.news.dfncis.de> <9s99tt$pdb$1@nh.pace.co.uk> <9s9s8p$11vt7l$1@ID-25716.news.dfncis.de> <9sc5l8$9b7$1@nh.pace.co.uk> <9scke8$12jb14$3@ID-25716.news.dfncis.de> NNTP-Posting-Host: di3-58.dialin.huji.ac.il X-Trace: news.huji.ac.il 1005216555 14132 132.64.13.58 (8 Nov 2001 10:49:15 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Thu, 8 Nov 2001 10:49:15 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: archiver1.google.com comp.lang.ada:16044 Date: 2001-11-08T12:45:09+02:00 List-Id: Nick Roberts wrote in message news:9scke8$12jb14$3@ID-25716.news.dfncis.de... > To recap, the great advantage of this design is that Widget_Store is now a > general-purpose iterator type (derived from > Widget_Iteration.Reproducable_Sequence probably), and so any unit that takes > a widget iterator type can have Widget_Stores passed into it with no further > ado. I like that, but only if we can simplify the design. Am I right in _comparing_ (not equating) your approach to having an ancestor type like Object or ANY, that all element types are derived from - thus ensuring a common interface? Ehud