Function endbasic_core::eval::eval_all [−][src]
pub fn eval_all<'life0, 'life1, 'async_recursion>(
exprs: &'life0 [Expr],
syms: &'life1 mut Symbols
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>>> + 'async_recursion>> where
'life0: 'async_recursion,
'life1: 'async_recursion,
Expand description
Evaluates all arguments given to a function.
This is a convenience function to simplify the processing of arguments because most functions do not care about unevaluated expressions. However, using this function is inefficient in many occasions because we are allocating a vector that we don’t need.