comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christoph.grein@eurocopter.com>
Subject: Re: Constant as anonymous functions : the outer space beast is back
Date: Sat, 30 Jan 2010 00:45:11 -0800 (PST)
Date: 2010-01-30T00:45:11-08:00	[thread overview]
Message-ID: <aa6fc1b7-3a39-4510-9181-f294a0d60943@o28g2000yqh.googlegroups.com> (raw)
In-Reply-To: hk06bk$k8u$1@munin.nbi.dk

> package P is
>     Count : constant Float := 10;
> end P;

And even if you make Count a function (overloadable), this example
code is still illegal in Ada as is - and that's a good thing.

package P is
  function Count return Float;
end P;



  reply	other threads:[~2010-01-30  8:45 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 [this message]
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)
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