comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Accessibility Levels and Library-Level Units
Date: Wed, 25 Sep 2013 09:46:36 +0200
Date: 2013-09-25T09:46:36+02:00	[thread overview]
Message-ID: <1ry7ls910q59n$.12x9k5v774phq$.dlg@40tude.net> (raw)
In-Reply-To: c6b3556d-8eea-49b5-b23f-ef411301adaa@googlegroups.com

On Tue, 24 Sep 2013 12:06:06 -0700 (PDT), mockturtle wrote:

> I think that the problem is that Test is "local to" (defined inside)
> Accessibility_Level_Test.  The problem is that you could have a
> "perverted" procedure Sub like this
[...]

The problem is language design which forces pointers where none is needed.
If Ada had procedural types no problem would ever arise as, none does when
you pass, say, a Boolean.

Using access-to-procedure for downward closures is an Ada 95 hack. In Ada
83 it was even worse, we had to use tasks!

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2013-09-25  7:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-24 18:36 Accessibility Levels and Library-Level Units Eryndlia Mavourneen
2013-09-24 18:54 ` Eryndlia Mavourneen
2013-09-24 19:23   ` Adam Beneschan
2013-09-24 19:06 ` mockturtle
2013-09-25  7:46   ` Dmitry A. Kazakov [this message]
2013-09-24 19:13 ` mockturtle
2013-09-24 19:23   ` Eryndlia Mavourneen
2013-09-24 19:27   ` Adam Beneschan
2013-09-24 20:02     ` J-P. Rosen
2013-09-24 20:17       ` Eryndlia Mavourneen
2013-09-24 20:32       ` Adam Beneschan
2013-09-24 19:31 ` Jeffrey Carter
2013-09-24 19:43   ` Eryndlia Mavourneen
2013-09-24 19:59     ` Adam Beneschan
2013-09-24 20:50     ` Robert A Duff
2013-09-25 14:40       ` Eryndlia Mavourneen
2013-09-25 21:34         ` Robert A Duff
2013-09-26 12:46           ` Eryndlia Mavourneen
2013-09-29 21:36             ` Stephen Leake
replies disabled

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