comp.lang.ada
 help / color / mirror / Atom feed
* private "subtype"s
@ 2000-10-09  0:00 Georg Bauhaus
  2000-10-09  0:00 ` Ted Dennison
  0 siblings, 1 reply; 3+ messages in thread
From: Georg Bauhaus @ 2000-10-09  0:00 UTC (permalink / raw)


A similar question has been partially answerd a while
ago by M. Heaney, in the sense that something
like the following code is not possible. But why?

package Whoops is  -- illegal!

   subtype Constr is private;
   --  [[Constr]] is constrained, but the constraints need
   -- not be known outside

private
   subtype Constr is Natural range 0..99;
end Whoops;

Georg Bauhaus




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

end of thread, other threads:[~2000-10-10  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-09  0:00 private "subtype"s Georg Bauhaus
2000-10-09  0:00 ` Ted Dennison
2000-10-10  0:00   ` Georg Bauhaus

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