Node:let-optional Reference, Next:let-keywords Reference, Up:Optional Arguments
let-optional* are for
destructuring rest argument lists and giving names to the various list
let-optional binds all variables simultaneously, while
let-optional* binds them sequentially, consistent with
let* (see Local Bindings).
|let-optional rest-arg (binding ...) expr ...||library syntax|
|let-optional* rest-arg (binding ...) expr ...||library syntax|
These two macros give you an optional argument interface that is very
Schemey and introduces no fancy syntax. They are compatible with
the scsh macros of the same name, but are slightly extended. Each of
binding may be of one of the forms var or |
After binding the variables, the expressions expr ... are evaluated in order.