On Wednesday, May 16, 2012 9:45:20 AM UTC-5, Markus Schöpflin wrote:
> 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
Why is using RENAMES not nice?
It seems that the only difference between using RENAMES and what you showed(procedure P is new BAR.P

is the syntax.