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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ebdc5ed511896a0 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!y42g2000hsy.googlegroups.com!not-for-mail From: shoshanister@gmail.com Newsgroups: comp.lang.ada Subject: Re: urgent question - generics Date: Mon, 03 Sep 2007 04:06:10 -0700 Organization: http://groups.google.com Message-ID: <1188817570.271073.170320@y42g2000hsy.googlegroups.com> References: <1188809249.040351.100160@r29g2000hsg.googlegroups.com> <46dbe4ac$0$3196$39db0f71@news.song.fi> <1188817116.418473.63040@50g2000hsm.googlegroups.com> <1188817470.2630.28.camel@kartoffel.vocalweb.de> NNTP-Posting-Host: 89.138.8.190 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1188817570 13051 127.0.0.1 (3 Sep 2007 11:06:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 3 Sep 2007 11:06:10 +0000 (UTC) In-Reply-To: <1188817470.2630.28.camel@kartoffel.vocalweb.de> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: y42g2000hsy.googlegroups.com; posting-host=89.138.8.190; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1680 Date: 2007-09-03T04:06:10-07:00 List-Id: On Sep 3, 2:04 pm, Georg Bauhaus wrote: > On Mon, 2007-09-03 at 03:58 -0700, shoshanis...@gmail.com wrote: > > I understood the generics, but I was looking to make a generic > > function that receives an unknown procedure as a parameter, and runs > > the procedure. > > It's not like the 'regular' samples of " with function ">"(... " > > I was wondering if there is a chance of creating a generic function > > that receives an annonymous procedure. > > Is anything known about the parameter profile of the procedure? simple empty procedure without any input parameters.