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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.168.101 with SMTP id j65mr12686991yhl.30.1407732685535; Sun, 10 Aug 2014 21:51:25 -0700 (PDT) X-Received: by 10.140.107.137 with SMTP id h9mr2508qgf.16.1407732685519; Sun, 10 Aug 2014 21:51:25 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!j15no6165414qaq.0!news-out.google.com!b3ni24360qac.1!nntp.google.com!j15no6165410qaq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 10 Aug 2014 21:51:25 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=194.154.216.90; posting-account=sDyr7QoAAAA7hiaifqt-gaKY2K7OZ8RQ NNTP-Posting-Host: 194.154.216.90 References: <85a97spo1c.fsf@stephe-leake.org> <92dd7d22-a7da-44d7-9c40-b3aa62881683@googlegroups.com> <4f431041-5292-434d-988e-46d69f4800f8@googlegroups.com> <472a5732-3dc9-4c08-8bda-00720375a2a9@googlegroups.com> <8cc86d41-2c7e-42d7-b057-1f9f010d9002@googlegroups.com> <75864d79-609c-4e37-98d8-6b5f050ad59d@googlegroups.com> <42e0f58b-63c4-4a08-90ce-b5ddf7ebe95b@googlegroups.com> <105213a0-7faa-48b1-a4ba-07791cd97c60@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Problem with generic linked list package From: Laurent Injection-Date: Mon, 11 Aug 2014 04:51:25 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:188352 Date: 2014-08-10T21:51:25-07:00 List-Id: @Simon: a lot of info to think about. Thanks @Jeffrey: a list of objects which don'tneed any specific order is no problem. This pkg is needed in the book for a later example for implementing a generic stack. The operations required for that have been given by the author. I was just hanging myself by thinking about a use of this pkg after the book. A thought about an program to manage my stuff at home (screws, paint, ...). So I don't know what info would put into the record. So I think the best idea would be to do it like the display_procedure and provide the "<" or whatever in the client program. And of course it would depend how I would want to sort them. Name, quantity or perhaps expiry date? Have no idea? Thanks Laurent