--  A public child's private part and body see its parent's private part (RM 8.2(5)): the
--  full view of Set, and the private constant Width.
package Parent is
   type Set is private;
   function Has (S : Set; N : Natural) return Boolean;
private
   Width : constant := 8;
   type Set is array (0 .. Width - 1) of Boolean;
   function Has (S : Set; N : Natural) return Boolean is (N < Width and then S (N));
end Parent;
