cond-compare[syntax] cond-compare clause1 ...)
SRFI-67: Each clause, with the possible exception of the last, is of the form
((t1 t2) c1 ...) where t1 and t2 are expressions evaluating
to booleans, and c[i] are expressions evaluating to an exact integer in
{-1, 0, 1}. The last <clause> may be an else clause, which has the form (else c1 ...).
Cond-compare is another conditional for defining hierarchical
extensions and refinements of compare procedures.
Cond-compare evaluates each expression at most once.
See also select-compare.
|