Prologs

Table of Contents

Setters.
Default collation
Default ordering mode
Default ordering behaviour for empty sequences
Default decimal format
Global variables
Functions

This section introduces prologs, which allows declaring functions and global variables that can then be used in the main query. A prolog also allows setting some default behaviour.

Figure 59. MainModule

MainModule

Figure 60. Prolog

Prolog

The prolog appears before the main query and is optional. It can contain setters and module imports, followed by function and variable declarations.

Module imports are explained in the next chapter.