Derived syntax forms: cond, case, when, unless, letrec.
These are operatives that extend the core syntax.
whenEvaluate body forms when test is true.
Parameters:
ANY — Expression to evaluate as a booleanANY — One or more body expressionsunlessEvaluate body forms when test is false.
Parameters:
ANY — Expression to evaluate as a booleanANY — One or more body expressionsletrecRecursive let: all bindings are visible to each other, enabling mutual recursion.
Parameters:
LIST — List of (name value) binding pairsANY — One or more body expressionscondMulti-way conditional: evaluates clauses in order, returning the body of the first true test. Supports else and => syntax.
Parameters:
LIST — List of (test body…) clauses; use else for defaultcaseDispatch on a value: evaluates key, then matches against datum lists in each clause.
Parameters:
ANY — Expression to evaluate and match againstLIST — List of ((datum …) body…) clauses; use else for default