args-fold

[procedure] args-fold args options unrecognized-option-proc operand-proc seeds ...

SRFI-37: Process command-line arguments (args, a list of strings) according to the list of options (a list of option structures, see option).

Unrecognized-option-proc is a procedure called when unrecognized option is found in args.

Operand-proc is called for non-option arguments in args.

Seeds are the initial value of states that are folded during execution of args-fold (like the knil value of fold).