Documentation for infix <=> assembled from the following pages:

Language documentation: Operators §

From Operators

(Operators) infix <=> §

multi sub infix:«<=>»($a$b --> Order:Dis assoc<non>

Numeric three-way comparator.

Coerces both arguments to Real and then does a numeric comparison.

Enum: Order §

From Order

(Order) infix <=> §

multi sub infix:«<=>»(Int:D \aInt:D \b --> Order:D)

Specialized form for Int.