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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cda33fc7f63c2885 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-15 22:01:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!dispose.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: list strawman Date: 16 Jan 2002 05:56:17 +0000 Organization: Pushface Message-ID: References: <6i%_7.8890$fG.50588@rwcrnsc51.ops.asp.att.net> <4519e058.0201100639.76966716@posting.google.com> <3C3E798D.CCF05098@attbi.com> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1011160826 nnrp-12:21869 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net NNTP-Posting-Date: 16 Jan 2002 05:56:17 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:18957 Date: 2002-01-16T05:56:17+00:00 List-Id: "Matthew Heaney" writes: > "Simon Wright" wrote in message > news:x7vy9j3oj5t.fsf@smaug.pushface.org... > > Mark Biggar writes: > > > > > use "is <>" for "=" then the user only needs to explicitly specify > > > it if it isn't named "=". > > > > I had a case (OA7.2, I can't get 7.2.1 to install properly) where I > > had to have 'function Eq' rather than 'function "="' as a generic > > formal subprogram, or it got confused. > > Can't you just say: > > generic > type T is private; > with function Eq (L, R : T) return Boolean is "="; > package GP is Neat! will try .. An alternate workround might be to use a renaming in the package (or subprogram) body. Usual scrabbling around to find some form that the compiler concerned will be happy with ..