Evaluate exp, a list representing a Scheme expression, in the top-level environment specified by module. While exp is evaluated (using
primitive-eval), module is made the current module. The current module is reset to its previous value when eval returns. XXX - dynamic states. Example: (eval '(+ 1 2) (interaction-environment))
Return a specifier for the environment that contains implementation–defined bindings, typically a superset of those listed in the report. The intent is that this procedure will return the environment in which the implementation would evaluate expressions dynamically typed by the user.
Evaluate string as the text representation of a Scheme form or forms, and return whatever value they produce. Evaluation takes place in the given module, or in the current module when no module is given. While the code is evaluated, the given module is made the current one. The current module is restored when this procedure returns.
scm_eval_string, but taking a C string instead of an
scm_applytakes parameters corresponding to a Scheme level
(lambda (proc arg . rest) ...). So arg and all but the last element of the rest list make up arg1...argN and the last element of rest is the arglst list. Or if rest is the empty list
SCM_EOLthen there's no arg1...argN and arg is the arglst.
arglst is not modified, but the rest list passed to
Call proc with the given arguments.
lst should be a list (arg1 ... argN arglst), with arglst being a list. This function returns a list comprising arg1 to argN plus the elements of arglst. lst is modified to form the return. arglst is not modified, though the return does share structure with it.
This operation collects up the arguments from a list which is