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).
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
). rest-arg should be the rest-argument of the procedures these are used from. The items in rest-arg are sequentially bound to the variable names are given. When rest-arg runs out, the remaining vars are bound either to the default values or
#fif no default value was specified. rest-arg remains bound to whatever may have been left of rest-arg.
After binding the variables, the expressions expr ... are evaluated in order.