ResultTypeOperator

public type ResultTypeOperator[T, E] = Result[T, E]

Compiler hook — T throws E desugars to Result[T, E] via this alias. Write the sugar in user code; this exists so the operator can resolve to a concrete type.

Defined in lang/std/result/result.ks