Ada.Integer_Text_IO
Text_IO's Integer_IO for Integer, as a library unit (RM A.10.8, A.10.9).
Read the family guide for representation, selection and resource rules. The complete declaration page retains exact signatures/contracts; the source specification is the implementation baseline.
Availability and ownership
The library-level instance Ada declares: its operations and contracts are Ada.Text_IO.Integer_IO's with Num = Integer, so no instantiation is needed.
A client proof uses these contracts without proving the body again (see library assurance). Global => null excludes package-global effects, not changes made through an in out argument.
Import and instantiate
with Ada.Integer_Text_IO;import Ada.Integer_Text_IO;
A Vibe module imports this unit's names with from Ada.Integer_Text_IO import Name; see library use across syntaxes. In Varc, keep each name's declared spelling and write & on arguments the call changes.
Contract and lifecycle reading
A Pre condition is the caller's obligation; a Post is what a normal return guarantees. What a postcondition does not state, a client cannot assume. Ghost functions are for contracts and ghost code. The family guide describes copying, lifetime, order and cost.
API 001
Ada.Integer_Text_IO (declaration) — The instance of Ada.Text_IO.Integer_IO for Integer: its Get and Put, Default_ variables and contracts are the generic's, with Num = Integer.
Declared interface:
package Ada.Integer_Text_IO is new Ada.Text_IO.Integer_IO (Integer);