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-Thread: a07f3367d7,73175d2d01a1b1dd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!weretis.net!feeder4.news.weretis.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail User-Agent: NewsTap/2.1.7 (iPhone/iPod Touch) From: georg bauhaus Newsgroups: comp.lang.ada Content-Type: text/plain; charset=UTF-8 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <818752663338654817.822041rmhost.bauhaus-maps.arcor.de@news.arcor.de> Subject: Re: subprogram must not be deeper than access type References: Date: 25 Sep 2011 15:03:36 GMT Organization: Arcor NNTP-Posting-Date: 25 Sep 2011 17:03:36 CEST NNTP-Posting-Host: 9baa725e.newsspool4.arcor-online.net X-Trace: DXC=2ejV8=ggd:lHhDR?UEkRaP<_Vh4 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:22063 Date: 2011-09-25T17:03:36+02:00 List-Id: Natasha Kerensikova wrote: > : > > type String_Accumulator_Linked_List (Builder : Accumulator_Builder) > is new String_Accumulator_Stack with private; As an aside, I'd consider an alternative type String_Accumulator_Linked_List that has a stack, rather than being a stack. >From this choice a more flexible design might follow. Also, whenever an anonymous type seems to solve a design problem, something might be in bad shape at a higher level. Note that a pointer has two ends and a direction: You could pass work in its direction instead of working with pointers at this end.