The (rnrs control (6)) library provides syntactic forms useful
for constructing conditional expressions and controlling the flow of
execution.
The
whenform is evaluated by evaluating the specified test expression; if the result is a true value, the expressions that follow it are evaluated in order, and the value of the final expression becomes the value of the entirewhenexpression.The
unlessform behaves similarly, with the exception that the specified expressions are only evaluated if the value of test is false.
This form is identical to the one provided by Guile's core library. See while do, for documentation.
This form is identical to the one provided by Guile's core library. See Case-lambda, for documentation.