From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: parent package referring to child
Date: Wed, 10 Oct 2007 20:26:31 +0100
Date: 2007-10-10T20:26:31+01:00 [thread overview]
Message-ID: <m2tzoy7ouw.fsf@mac.com> (raw)
In-Reply-To: 1192007262.7362.69.camel@kartoffel
Georg Bauhaus <rm.tsoh+bauhaus@maps.futureapps.de> writes:
> You can replicate the type as a derived type in FOO and create
> the Names package as a normal package:
>
> type Twin is new Names.Huge;
>
> Another possibility is to rearrange the package hierarchy so
> that FOO can become a sibling of Names.
Foo and Foo_Names perhaps. We use a code generator, the things it
can't generate are by convention in Foo_Support.
One possible problem is that the literals aren't directly visible in
Foo without 'use Foo_Names'.
next prev parent reply other threads:[~2007-10-10 19:26 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-10 6:23 parent package referring to child eliben
2007-10-10 9:07 ` Georg Bauhaus
2007-10-10 9:24 ` eliben
2007-10-10 14:46 ` Adam Beneschan
2007-10-10 19:26 ` Simon Wright [this message]
2007-10-10 14:59 ` Matthew Heaney
2007-10-10 18:54 ` Vadim Godunko
2007-10-10 19:32 ` Matthew Heaney
2007-10-10 20:20 ` Adam Beneschan
2007-10-11 4:12 ` Randy Brukardt
2007-10-11 15:21 ` Adam Beneschan
2007-10-19 12:45 ` Vadim Godunko
2007-10-10 19:51 ` Matthew Heaney
2007-10-10 17:06 ` Jeffrey R. Carter
2007-10-10 19:17 ` anon
2007-10-11 9:45 ` george
2007-10-12 4:15 ` Jeffrey R. Carter
2007-10-12 9:51 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox