comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Visibility issue
Date: Tue, 15 Sep 2020 22:03:02 +0200	[thread overview]
Message-ID: <rjr6ln$bse$1@dont-email.me> (raw)
In-Reply-To: <a2c124b4-8226-441f-aca6-6b6391bdeb53n@googlegroups.com>

On 9/15/20 9:11 PM, Daniel wrote:
> 
>> I'm still not clear what problem you're trying to solve. Designs are derived
>> from problem statements, not from failed designs
> I have the next requirements:
> - I need to pack all calls from users in just one Package API Hierarchy.
> - The details and complexity of the implementation need to be outside of this API hierarchy as much as possible.
> -I need to use tagged types as much as possible for the calls from users to API package. (I'm not a big fan of this also but its a requirement)
> -This API tagged types needs to connect the API Side with the implementation packages.
> -The user needs to set a limited number of callback procedure with this flavor: "Procedure (S : in out Tagged_APi_Type)"
> -The Implementation package needs to trigger the procedure defined in the API. (Here comes to problems):
> -->The implementation package needs to manipulate some hide part of the Tagged_API_Type while is triggered
> ------>Here comes the problem. From the implementing  package  is not possible to see the private part of the API package.
> 
> The only solution I have for now is to make public some functions in the API to be used from the implementing packages and try to advise the users to don't use them.

These are mostly restrictions on the implementation, not a problem statement. It 
seems you have requirements that it must use an impossible implementation.

-- 
Jeff Carter
"That was the most fun I've ever had without laughing."
Annie Hall
43
, not a

  reply	other threads:[~2020-09-15 20:03 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-11 10:37 Visibility issue Daniel
2020-09-11 11:51 ` Maxim Reznik
2020-09-11 20:11   ` Daniel
2020-09-11 14:23 ` Jeffrey R. Carter
2020-09-11 20:17   ` Daniel
2020-09-11 22:36     ` Jeffrey R. Carter
2020-09-14 10:47       ` Daniel
2020-09-14 16:10         ` Jeffrey R. Carter
2020-09-15 19:11           ` Daniel
2020-09-15 20:03             ` Jeffrey R. Carter [this message]
2020-09-11 21:05 ` Dmitry A. Kazakov
2020-09-14 11:33   ` Daniel
2020-09-14 14:42     ` Dmitry A. Kazakov
2020-09-15 19:35       ` Daniel
2020-09-16  7:14         ` Dmitry A. Kazakov
2020-09-16 10:23           ` Daniel
2020-09-16 10:58             ` Dmitry A. Kazakov
2020-09-16 14:35               ` Daniel
2020-09-16 14:49                 ` Jeffrey R. Carter
2020-09-16 15:05                 ` Dmitry A. Kazakov
2020-09-16 20:09                   ` Daniel
2020-09-16 21:48                     ` Simon Wright
2020-09-17 13:31                       ` Daniel
2020-09-17 15:00                         ` Dmitry A. Kazakov
2020-09-17 15:32                           ` Daniel
2020-09-17 16:47                             ` Dmitry A. Kazakov
2020-09-18  8:05                         ` Simon Wright
2020-09-14 16:18 ` Simon Wright
2020-09-17 15:58 ` Jere
2020-09-17 16:10 ` Jere
2020-09-18  8:08   ` Simon Wright
2020-09-17 21:47 ` Shark8
replies disabled

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