Appendix C

The util Module

On this page

The util module provides useful utility functions and predicates. This module is expected to be expanded in the future. This module must be imported before use.

C.1 Utilities on Terms

C.2 Utilities on Strings and Lists

C.3 Utilities on Matrices

An array matrix is a two-dimensional array. The first dimension gives the number of rows and the second dimension gives the number of columns. A list matrix represents a matrix as a list of lists.

C.4 Utilities on Lists and Sets