pub(crate) fn evaluate_in_global_scope(&mut self, form: &Value) -> EvaluationResult<Value> {
        let mut child_scopes: Vec<_> = self.scopes.drain(1..).collect();
        let result = self.evaluate_form(form);
        self.scopes.append(&mut child_scopes);
        result
    }
/// Evaluate `form` in the global scope of the interpreter.
/// This method is exposed for the `eval` primitive which
/// has these semantics.
Evaluate `form` in the global scope of the interpreter.
This method is exposed for the `eval` primitive which
has these semantics.
Evaluate ` form ` in the global scope of the interpreter . This method is exposed for the ` eval ` primitive which has these semantics .
pub(crate) fn evaluate_in_global_scope(&mut self, form: &Value) -> EvaluationResult<Value> {
        let mut child_scopes: Vec<_> = self.scopes.drain(1..).collect();
        let result = self.evaluate_form(form);
        self.scopes.append(&mut child_scopes);
        result
    }
pub ( crate ) fn evaluate_in_global_scope ( & mut self , form : & Value ) -> EvaluationResult < Value > { let mut child_scopes : Vec < _ > = self . scopes . drain ( 1 .. ) . collect ( ) ; let result = self . evaluate_form ( form ) ; self . scopes . append ( & mut child_scopes ) ; result }
Evaluate `form` in the global scope of the interpreter.
Evaluate ` form ` in the global scope of the interpreter .
&mut self
form
&Value