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,616091a85ff150f1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-05 11:21:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Ada 200X Assertions Date: Wed, 5 Dec 2001 14:25:38 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3C0C48BE.3B20F04E@adaworks.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:17467 Date: 2001-12-05T14:25:38-05:00 List-Id: "Matthew Heaney" wrote in message news:u0sq9mg90ecr7b@corp.supernews.com... > In the code below, I do this by making the List_Type a private derivation of > a Node_Type. Which means a List_Type, containing only the head pointer, can > be used exactly like Node_Type. > > type Node_Type is abstract tagged private; > type List_Type is Node_Type; Oops. I should have said type List_Type is private; The actual code I provided is correct.