comp.lang.ada
 help / color / mirror / Atom feed
* What is the difference?
@ 2019-08-10 13:59 Gilbert Gosseyn
  2019-08-10 15:24 ` Jeffrey R. Carter
  2019-08-12 13:44 ` Shark8
  0 siblings, 2 replies; 4+ messages in thread
From: Gilbert Gosseyn @ 2019-08-10 13:59 UTC (permalink / raw)


package G is

generic

with function f return Integer is <>;

-- alternativ: with function f return Integer;

procedure gg;

end G;


package body G is

procedure gg is
begin
null;
end gg;

end G;


procedure test is

function f1 return Integer is
begin
null;
end f1;

procedure gg1 is new gg(f => f1);

begin
null;
end test;

It works in both versions.

What is here the meaning of: is <>?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-12 13:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-10 13:59 What is the difference? Gilbert Gosseyn
2019-08-10 15:24 ` Jeffrey R. Carter
2019-08-10 16:04   ` Gilbert Gosseyn
2019-08-12 13:44 ` Shark8

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