package body Ops is
   function Apply (F : not null access function (X : Integer) return Integer; V : Integer) return Integer is
   begin
      return F (V);
   end Apply;
   procedure Twice (P : access procedure (N : in out Integer); Value : in out Integer) is
   begin
      if P /= null then
         P (Value);
         P (Value);
      end if;
   end Twice;
   procedure Bump (N : in out Integer) is
   begin
      N := N / 2 + 1;
   end Bump;
end Ops;
