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,2510538eb4348710 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-03 10:16:59 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!lsanca1-snf1!news.gtei.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3B93BB3F.11AB1B0B@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: A generic list package References: <87ae0dp7gn.fsf@deneb.enyo.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 03 Sep 2001 17:16:40 GMT NNTP-Posting-Host: 63.180.2.60 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 999537400 63.180.2.60 (Mon, 03 Sep 2001 10:16:40 PDT) NNTP-Posting-Date: Mon, 03 Sep 2001 10:16:40 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Mon, 03 Sep 2001 10:13:52 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:12659 Date: 2001-09-03T17:16:40+00:00 List-Id: Florian Weimer wrote: > > Stephen Leake writes: > > > I find it curious that you expect the client to provide the "next" > > field/operation, rather than declaring a Node_Type containing the > > user's type and a Next field. Can you elaborate on this? I would say that this approach does not qualify as an ADT. The client must understand the internal representation to be used in the list and declare a set of types and operations appropriately. That does not seem "abstract". -- Jeff Carter "If you think you got a nasty taunting this time, you ain't heard nothing yet!" Monty Python and the Holy Grail