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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,842accb6a7d76669 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-09 07:51:47 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!24.226.1.12!feed.cgocable.net!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3BE301D1.4010106@telepath.com> <9s6d45$bd2$1@nh.pace.co.uk> <9s74eg$12b2bq$5@ID-25716.news.dfncis.de> Subject: Re: List container strawman 1.1 Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Fri, 09 Nov 2001 10:51:00 EST Organization: http://www.newsranger.com Date: Fri, 09 Nov 2001 15:51:01 GMT Xref: archiver1.google.com comp.lang.ada:16129 Date: 2001-11-09T15:51:01+00:00 List-Id: In article <9s74eg$12b2bq$5@ID-25716.news.dfncis.de>, Nick Roberts says... (Talking about adding Text I/O routines for lists to the package) >But this can be done, and should be done, by declaring 'read' and 'write' >procedures for the List_Type, conforming to what RM95 13.13.2 requires, and >then using representation clauses to replace the default List_Type'Read and >List_Type'Write attributes. This way, the required behaviour becomes >implicit and automatic. The problem with doing that is that it must be done in the same package where the type is declared. In this case, that's the generic list package. If this is something compiler vendors provide, or something that gets put under "Ada.*" one day, modifying the body may not be possible. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.