--  Functions whose results are texts, and a record and a vector holding them, called from
--  another unit's main and run in memory (`veradic run`) as the native build runs them.
with Verada.Strings.Texts; use Verada.Strings.Texts;
with Verada.Strings.Text_Lists;

package Labels is
   type Person is record
      Name : Text;
      Age : Natural := 0;
   end record;

   function Label (N : Natural) return Text;
   function Twice (S : Text) return Text;
   function Make (N : Natural) return Person;
   procedure Names (Count : Natural; Items : in out Verada.Strings.Text_Lists.Vector)
     with Pre => Count <= 100 and then Verada.Strings.Text_Lists.Length (Items) = 0,
          Post => Verada.Strings.Text_Lists.Length (Items) = Count;
end Labels;
