package body Ops is
   procedure Bump (Total : in out Integer) is
   begin
      Total := Total + 1;
   end Bump;

   procedure Keep (Total : in out Integer) is
   begin
      null;
   end Keep;

   procedure Apply_All (F : not null Unary; V : in out Values) is
   begin
      for I in V'Range loop
         pragma Loop_Invariant (for all J in I .. V'Last => V (J) in -1000 .. 1000);
         V (I) := F (V (I));
      end loop;
   end Apply_All;
end Ops;
