Executing the math domain count function, as defined in Fig. 6-7, with
parameters (0, 10, 2) will cause Hermes to return the array
[0 2 4 6 8 10].
The Hermes domain, listed in Fig. 6-17, can process nested arrays,
records and sets. In each case, the domain function returns a data set
of the same types as the input database.
Some databases, such as the text domain in
Fig. 6-21, return a fixed data type -- In this case there is no need for
the data function or declaration.