From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Callback in Ada
Date: Tue, 30 Nov 2010 13:37:40 +0100
Date: 2010-11-30T13:37:41+01:00 [thread overview]
Message-ID: <4cf4f014$0$6977$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <0deb178c-ecac-4560-8bae-a904432046ee@n2g2000pre.googlegroups.com>
On 30.11.10 10:14, AdaMagica wrote:
>> No problem here, just use an expression function to give your expression a
>> name (and parameters); then you can use 'Access just fine. Forget anonymous
>> stuff, it only leads to heartache. :-)
>>
>> function Foobar (A : Integer) return Integer is (if A > 10 then A - 5
>> else A);
>
> Which AI is this? I can't find this syntax in RM 2012 Draft 10.
http://www.ada-auth.org/cgi-bin/cvsweb.cgi/ai05s/ai05-0177-1.txt?rev=1.5
(found via the Schonberg presentation notes).
Question about the Ada-auth.org search programs:
search-acaa.cgi:
The results for "expression function" differ from those
for "expression functions" and AI 177 doesn't turn up
using the former parameter.
search-ai05s.cgi
Results differ, but AI 177 turns up (not a surprise, I should
think).
Q: Is it worth while adding singular or plural forms automatically?
Will doing so do any serious harm? Copying the ubiquituous "+"
operator convention (indicating "as written, please!") can turn
this off, again.
(Word lists and algorithms are available in the free Unix
spelling libraries.)
http://www.ada-auth.org/search-acaa.cgi?SearchA=%22expression+functions%22&SearchO=&SearchN=
http://www.ada-auth.org/search-ai05s.cgi?SearchA=%22expression+functions%22&SearchO=&SearchN=
next prev parent reply other threads:[~2010-11-30 12:37 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-27 9:47 Callback in Ada Georg Maubach
2010-11-27 10:11 ` Dmitry A. Kazakov
2010-11-27 10:22 ` Ludovic Brenta
2010-11-27 11:04 ` Vinzent Hoefler
2010-11-27 22:05 ` Maciej Sobczak
2010-11-27 10:26 ` Alex Mentis
2010-11-27 10:46 ` Vinzent Hoefler
2010-11-27 11:32 ` Georg Bauhaus
2010-11-27 21:11 ` Jeffrey Carter
2010-11-27 21:20 ` Dmitry A. Kazakov
2010-11-28 21:35 ` Maciej Sobczak
2010-11-29 8:41 ` Dmitry A. Kazakov
2010-11-29 10:12 ` Maciej Sobczak
2010-11-29 11:04 ` Dmitry A. Kazakov
2010-11-30 1:32 ` Randy Brukardt
2010-11-30 8:38 ` Dmitry A. Kazakov
2010-11-30 9:14 ` AdaMagica
2010-11-30 12:37 ` Georg Bauhaus [this message]
2010-11-30 20:28 ` Randy Brukardt
2010-11-30 20:31 ` Randy Brukardt
2011-01-01 16:46 ` Yannick Duchêne (Hibou57)
2011-01-02 10:14 ` AdaMagica
2011-01-02 14:11 ` Robert A Duff
2011-01-02 15:15 ` AdaMagica
2011-01-02 15:28 ` Robert A Duff
2011-01-02 15:38 ` Alex Mentis
2011-01-02 15:44 ` Robert A Duff
2011-01-03 21:38 ` Randy Brukardt
2011-01-04 0:11 ` Robert A Duff
2011-01-04 18:33 ` Alex Mentis
2011-01-04 19:47 ` Robert A Duff
2011-01-04 20:21 ` Randy Brukardt
2011-01-04 20:15 ` Randy Brukardt
2010-11-29 15:24 ` Callback in Ada (User Data argument) Warren
2010-11-30 1:35 ` Randy Brukardt
2010-11-30 16:51 ` Warren
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox