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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!enother.net!enother.net!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx22.iad.POSTED!not-for-mail From: Shark8 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:30.0) Gecko/20100101 Thunderbird/30.0a1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problem with generic linked list package References: <85a97spo1c.fsf@stephe-leake.org> <92dd7d22-a7da-44d7-9c40-b3aa62881683@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8TTEv.185627$Y37.78620@fx22.iad> X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Thu, 07 Aug 2014 23:22:44 UTC Organization: TeraNews.com Date: Thu, 07 Aug 2014 17:22:42 -0600 X-Received-Bytes: 1543 X-Received-Body-CRC: 3864744037 Xref: news.eternal-september.org comp.lang.ada:21525 Date: 2014-08-07T17:22:42-06:00 List-Id: On 07-Aug-14 16:30, Laurent wrote: > The book I use was written 1998, but I have the latest version of > gnat and I do this as hobby. So I can use whatever I want. If ada > 2012 has an easier way to realise something I will use it. Then you have Ada 2012 capabilities. The real point of the example I gave is altering the formal parameters of the generic so that you have access to the "<" and "=" functions. This is to say that the ">=" function was only an example to show how you could get that functionality from both.