Skip to main content

eval_call

Function eval_call 

Source
pub fn eval_call(
    func_form: &Form,
    arg_forms: &[Form],
    env: &mut Env,
) -> EvalResult
Expand description

Evaluate a call expression (func-form arg1 arg2 ...).

Handles:

  • Macro expansion (if callee is a macro).
  • The apply function (spread last arg).
  • The swap! function (needs env to call the function).
  • Regular function calls.