From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Generic Library Units?
Date: Thu, 16 Oct 2014 09:04:31 +0200
Date: 2014-10-16T09:04:31+02:00 [thread overview]
Message-ID: <6ge9dqlz3ifx$.7ny8fi1jsnf4.dlg@40tude.net> (raw)
In-Reply-To: ca8kssFhl6cU1@mid.individual.net
On Wed, 15 Oct 2014 22:21:30 -0300, hreba wrote:
> Basically I only need type and subprogram parameters for my generic
> package Gui (and Gui.SimpleGad) package.
> As I have dozens of subprogram parameters, I packed them (together with
> the types) into a package parameter GuiGtk and it worked. It didn't work
> anymore when I outsourced part of GuiGtk into GuiGtk.SimpleGad.
>
> From what you say I understand that there is no cure, so I will stick
> to a GuiGtk without a child package.
Why? Of course, it works. I don't understand your design, but if you put
anything in the package GuiGtk, instantiate it in Gui (as TK), then a child
of Gui (Gui.SmpleGad) must see that instance (TK) and you can use anything
declared in the visible part of Gui as TK.*.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2014-10-16 7:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-12 14:38 Generic Library Units? hreba
2014-10-12 15:47 ` Dmitry A. Kazakov
2014-10-12 22:39 ` hreba
2014-10-13 7:45 ` Dmitry A. Kazakov
2014-10-15 0:29 ` hreba
2014-10-15 7:21 ` Dmitry A. Kazakov
2014-10-16 1:21 ` hreba
2014-10-16 7:04 ` Dmitry A. Kazakov [this message]
2014-10-16 7:54 ` Simon Wright
2014-10-17 12:46 ` hreba
2014-10-16 10:36 ` AdaMagica
2014-10-17 12:57 ` hreba
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox