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.50.119.5 with SMTP id kq5mr19875721igb.1.1407439313394; Thu, 07 Aug 2014 12:21:53 -0700 (PDT) X-Received: by 10.182.126.37 with SMTP id mv5mr29866obb.33.1407439313278; Thu, 07 Aug 2014 12:21:53 -0700 (PDT) Path: buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!h18no15771369igc.0!news-out.google.com!eg1ni559igc.0!nntp.google.com!h18no15771365igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 7 Aug 2014 12:21:52 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=KSa2aQoAAACOxnC0usBJYX8NE3x3a1Xq NNTP-Posting-Host: 66.126.103.122 References: <85a97spo1c.fsf@stephe-leake.org> <92dd7d22-a7da-44d7-9c40-b3aa62881683@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4f431041-5292-434d-988e-46d69f4800f8@googlegroups.com> Subject: Re: Problem with generic linked list package From: Adam Beneschan Injection-Date: Thu, 07 Aug 2014 19:21:53 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:188218 Date: 2014-08-07T12:21:52-07:00 List-Id: On Thursday, August 7, 2014 12:07:15 PM UTC-7, Laurent wrote: > Compiler wasn't happy because "<" and ">=" were not defined for Element_Type. > Ok so I added > function "<" (Left,Right: Element_Type) return Boolean is > begin > return Left< Right; > end "<"; The expression "Left < Right" just causes the function to call itself recursively. What did you want it to do? (The same kind of problem exists in other places.) -- Adam