Module: global

Global constants and shared utilities.

This module exports two primary namespaces:

  • ORDER — A collection of standard comparison utilities (e.g., ASCENDING, DESCENDING, SINGULAR, BY_PROPERTY, etc.) intended for configuring sorted containers such as Queue or SortedArray.

  • SORTER — Factory functions (e.g., BY_DEPTH, UNIFORM) that produce sorter(node) functions used when constructing a Classifier. Sorters determine how child keys and stored values are ordered at every node.

These utilities form the common configuration layer shared across all higher-level data structures in the library.

Source: