comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: Re: Constant as anonymous functions : the outer space beast is back
Date: Tue, 2 Feb 2010 13:47:52 -0800 (PST)
Date: 2010-02-02T13:47:52-08:00	[thread overview]
Message-ID: <9da1a9ba-09e7-46a2-9a85-6016e106c34a@d27g2000yqn.googlegroups.com> (raw)
In-Reply-To: 18159050-6ea0-4bc8-ab62-329fab270f0e@e19g2000prn.googlegroups.com

On 2 fév, 22:26, Adam Beneschan <a...@irvine.com> wrote:
> Some problems like that could be mitigated by defining overloading
> only for constants declared with an <object-declaration> that contains
> the word "constant".  I.e. *not* for loop variables, IN parameters,
> exception occurrence variables in handlers, ..............  Actually,
> I suspect that that's the kind of constant the OP was thinking of, not
> everything that the language defines as having a constant view.
>
>                                  -- Adam

If I'm the OP you were referring to, yes, I was meaning the constants
declared with the keyword Constant, not everything which have a
constant view.


..... what's an OP ? ... please


Later words : to be honest, although it would be conceptually cleaner,
this tiny lack is not as much a pain. There is the function workaround
which is just a bit more text lines to write. The reason why I've
introduced this topic, is because of the side two effects which comes
with it : required body for specifications which would not requires a
body otherwise and body elaboration required to access the full
specification. I did not meet, my self, any trouble with it, I was
just anticipating based on logical assumptions (I know in some
circumstance, elaboration order may be an issue, as well as may be the
existence of a body which some requirements may exclude).



  reply	other threads:[~2010-02-02 21:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27  1:57 Constant as anonymous functions : the outer space beast is back Hibou57 (Yannick Duchêne)
2010-01-27  2:12 ` Robert A Duff
2010-01-27  2:15   ` Hibou57 (Yannick Duchêne)
2010-01-30  2:42   ` Randy Brukardt
2010-01-30  8:45     ` AdaMagica
2010-02-02 19:34       ` Hibou57 (Yannick Duchêne)
2010-02-05 21:51         ` Randy Brukardt
2010-02-05 22:41           ` Hibou57 (Yannick Duchêne)
2010-02-06  9:34             ` Dmitry A. Kazakov
2010-02-07 16:22         ` Robert A Duff
2010-02-09  0:22           ` Randy Brukardt
2010-02-02 19:36     ` Hibou57 (Yannick Duchêne)
2010-02-02 21:26     ` Adam Beneschan
2010-02-02 21:47       ` Hibou57 (Yannick Duchêne) [this message]
2010-02-03  0:55         ` Adam Beneschan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox