{ SCM_OPTION_BOOLEAN, "exit-frame", 0, "Trap when exiting eval or apply." }
};
-GUILE_PROC (scm_eval_options_interface, "eval-options-interface", 0, 1, 0,
+SCM_DEFINE (scm_eval_options_interface, "eval-options-interface", 0, 1, 0,
(SCM setting),
"")
#define FUNC_NAME s_scm_eval_options_interface
}
#undef FUNC_NAME
-GUILE_PROC (scm_evaluator_traps, "evaluator-traps-interface", 0, 1, 0,
+SCM_DEFINE (scm_evaluator_traps, "evaluator-traps-interface", 0, 1, 0,
(SCM setting),
"")
#define FUNC_NAME s_scm_evaluator_traps
you if you do (scm_apply scm_apply '( ... ))" If you know what
they're referring to, send me a patch to this comment. */
-GUILE_PROC(scm_nconc2last, "apply:nconc2last", 1, 0, 0,
+SCM_DEFINE(scm_nconc2last, "apply:nconc2last", 1, 0, 0,
(SCM lst),
"")
#define FUNC_NAME s_scm_nconc2last
}
-GUILE_PROC(scm_force, "force", 1, 0, 0,
+SCM_DEFINE(scm_force, "force", 1, 0, 0,
(SCM x),
"")
#define FUNC_NAME s_scm_force
}
#undef FUNC_NAME
-GUILE_PROC (scm_promise_p, "promise?", 1, 0, 0,
+SCM_DEFINE (scm_promise_p, "promise?", 1, 0, 0,
(SCM x),
"Return true if @var{obj} is a promise, i.e. a delayed computation
(@pxref{Delayed evaluation,,,r4rs.info,The Revised^4 Report on Scheme}).")
}
#undef FUNC_NAME
-GUILE_PROC (scm_cons_source, "cons-source", 3, 0, 0,
+SCM_DEFINE (scm_cons_source, "cons-source", 3, 0, 0,
(SCM xorig, SCM x, SCM y),
"")
#define FUNC_NAME s_scm_cons_source
}
#undef FUNC_NAME
-GUILE_PROC (scm_copy_tree, "copy-tree", 1, 0, 0,
+SCM_DEFINE (scm_copy_tree, "copy-tree", 1, 0, 0,
(SCM obj),
"Recursively copy the data tree that is bound to @var{obj}, and return a
pointer to the new data structure. @code{copy-tree} recurses down the
return SCM_XEVAL (obj, env);
}
-GUILE_PROC(scm_eval2, "eval2", 2, 0, 0,
+SCM_DEFINE(scm_eval2, "eval2", 2, 0, 0,
(SCM obj, SCM env_thunk),
"Evaluate @var{exp}, a Scheme expression, in the environment designated
by @var{lookup}, a symbol-lookup function. @code{(eval exp)} is
}
#undef FUNC_NAME
-GUILE_PROC(scm_eval, "eval", 1, 0, 0,
+SCM_DEFINE(scm_eval, "eval", 1, 0, 0,
(SCM obj),
"Evaluate @var{exp}, a list representing a Scheme expression, in the
top-level environment.")