--  D183 (9)'s predefined units: the numeric Text_IO instances, Ada.Assertions,
--  Ada.Characters.Conversions, Handling's To_Basic and ISO 646 functions, and
--  Ada.Strings.Maps.Constants.
with Ada.Integer_Text_IO;
with Ada.Long_Float_Text_IO;
with Ada.Assertions;
with Ada.Characters.Conversions; use Ada.Characters.Conversions;
with Ada.Strings.Maps.Constants;
with Ada.Text_IO;
procedure Main is
   W : constant Wide_Wide_String := To_Wide_Wide_String (String'("abc"));
begin
   Ada.Integer_Text_IO.Put (42, Width => 5);
   Ada.Text_IO.New_Line;
   Ada.Long_Float_Text_IO.Put (2.5, Fore => 2, Aft => 2, Exp => 0);
   Ada.Text_IO.New_Line;
   Ada.Assertions.Assert (W'Length = 3);
   Ada.Text_IO.Put_Line (To_String (W & Wide_Wide_Character'Val (16#3B1#), Substitute => '?'));
   Ada.Text_IO.Put_Line (Boolean'Image (Is_String (W)));
   Ada.Text_IO.Put_Line (Boolean'Image (Ada.Strings.Maps.Is_In ('q', Ada.Strings.Maps.Constants.Lower_Set)));
   Ada.Text_IO.Put (Ada.Strings.Maps.Value (Ada.Strings.Maps.Constants.Upper_Case_Map, 'q'));
   Ada.Text_IO.New_Line;
end Main;
