comp.lang.ada
 help / color / mirror / Atom feed
* Access to generic formal parameters in an generic package instantiation
@ 2012-07-29 18:16 Florian Weimer
  2012-07-29 19:36 ` Dmitry A. Kazakov
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Florian Weimer @ 2012-07-29 18:16 UTC (permalink / raw)


If G is a generic package and P is one of its formal parameters, it is
legal to refer to G.P where G is visible?  Does this depend on the
kind of entity, or whether the formal part uses <>?

Has anybody tried to use generic formal packages to emulate Standard
ML signatures?  Is it possible to express SML "where" constraints,
that is, specify that two types in two formal packages are the same,
without break down the formal packages to their components?

It seems that generic formal packages are unusual because GNAT shows
some strange effects (and the occasional bug box).



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

end of thread, other threads:[~2012-08-07  7:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-29 18:16 Access to generic formal parameters in an generic package instantiation Florian Weimer
2012-07-29 19:36 ` Dmitry A. Kazakov
2012-07-29 21:31   ` Florian Weimer
2012-07-30 18:37     ` Adam Beneschan
2012-07-30 18:33 ` Adam Beneschan
2012-07-31  7:48 ` Georg Bauhaus
2012-07-31 15:29   ` Adam Beneschan
2012-07-31 16:50     ` Georg Bauhaus

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