Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.
Next: R6RS Records, Previous: rnrs sorting, Up: R6RS Standard Libraries [Contents][Index]
The (rnrs control (6))
library provides syntactic forms useful
for constructing conditional expressions and controlling the flow of
execution.
The when
form 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 entire when
expression.
The unless
form 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.