From: "Markus Schöpflin" <no.spam@spam.spam>
Subject: Re: Declaring private packages to instantiate generics?
Date: Wed, 16 May 2012 16:45:20 +0200
Date: 2012-05-16T16:45:20+02:00 [thread overview]
Message-ID: <jp0eht$tt5$1@speranza.aioe.org> (raw)
In-Reply-To: 25586653.906.1337178987063.JavaMail.geo-discussion-forums@pbcvy1
Am 16.05.2012 16:36, schrieb Adam Beneschan:
[...]
>> ---%<---
>> package body FOO is
>> package BAR is new SOME_GENERIC_PACKAGE;
>> procedure BAR_P is new BAR.P;
>> procedure P is begin BAR_P; end;
>> end FOO;
>> --->%---
>>
>> Regards,
>> Markus
>
> You can change the last to
>
> procedure P renames BAR_P;
Thanks for your answer. Not as nice as I had hoped, but basically what I was
looking for.
Markus
next prev parent reply other threads:[~2012-05-16 14:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 14:21 Declaring private packages to instantiate generics? Markus Schöpflin
2012-05-16 14:36 ` Adam Beneschan
2012-05-16 14:45 ` Markus Schöpflin [this message]
2012-05-17 1:24 ` Shark8
2012-05-17 3:37 ` Adam Beneschan
2012-05-21 8:06 ` Markus Schöpflin
2012-05-21 15:51 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox