The message predicate

The message predicate posts a message from a Typol rule. This predicate must be imported from message as follows:


import message(string, string, string, string, path, string, _)
       from message ;

where the arguments are the following:

Since each argument has a value but may also have an associated position in the source and supplementary information, the messarg construction allows you to regroup this information when posting a message. This syntactic construction comes from a formalism named messargs and must be used in a Typol program as any other formalism:


   use messargs;

The messarg construct has the following syntax: messarg(, ref(), info )

where:


                  



Tutorial