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,3d6e3f68a9ab5a3c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-12 00:07:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Charles: Generic_Find References: <3dd082fe$0$307$bed64819@news.gradwell.net> X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51.ops.asp.att.net 1037088437 12.234.13.56 (Tue, 12 Nov 2002 08:07:17 GMT) NNTP-Posting-Date: Tue, 12 Nov 2002 08:07:17 GMT Organization: AT&T Broadband Date: Tue, 12 Nov 2002 08:07:17 GMT Xref: archiver1.google.com comp.lang.ada:30748 Date: 2002-11-12T08:07:17+00:00 List-Id: > Why Generic_Find is generic? Why not just pass the predicate > as a function access? Doing so would avoid the need of > generic instantiation. I suggest to change this. Remember that you can't do an Unchecked_Access on a function, so a function access parameter is more restricted in where it can be used.