object IApply.Apply(object[] args) { var value = CheckedValue as IApply; if (value == null) { throw new LispException("The value of the global variable {0} is not a function.", ContextualName); } return(Runtime.Apply(value, args)); }
public static object Funcall(string functionName, params object[] args) { var sym = Runtime.FindSymbol(functionName); return(Runtime.Apply(sym, args)); }