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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,330ec86e1824a689 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-28 11:03:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc04.gnilink.net.POSTED!53ab2750!not-for-mail From: "Frank J. Lhota" Newsgroups: comp.lang.ada References: <5ee5b646.0208280304.614d11fc@posting.google.com> Subject: Re: Run-Time Type Assignment X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Wed, 28 Aug 2002 18:03:21 GMT NNTP-Posting-Host: 141.157.176.41 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc04.gnilink.net 1030557801 141.157.176.41 (Wed, 28 Aug 2002 14:03:21 EDT) NNTP-Posting-Date: Wed, 28 Aug 2002 14:03:21 EDT Xref: archiver1.google.com comp.lang.ada:28518 Date: 2002-08-28T18:03:21+00:00 List-Id: "Robert A Duff" wrote in message news:wccn0r7hx5y.fsf@shell01.TheWorld.com... > Kilgallen@SpamCop.net (Larry Kilgallen) writes: > > > What is a downward closure ? > > The ability to pass a procedure as a parameter to a procedure. > GNAT supports downward closures via the 'Unrestricted_Access attribute, > but that's not Ada (unfortunately). What about using just the plain old 'Access attribute to pass a pointer to the procedure as a parameter? That is supported by all Ada 95 compilers.