pub fn apply(f: &Value, arg: Value) -> Result<Value, Raised>Expand description
Apply a value to a single argument — the public entry point behind a host’s
“call this value” surface (e.g. the Python bindings’ elly.Fun.__call__).
This is the same application step the evaluator uses internally (apply_n
with one argument): a closure call, list projection, or one step toward
saturating a builtin. Since values are 'static-owned, f and arg may come
from different programs. A fresh Ctx is used, mirroring eval, so any
closures minted while running the application are stamped from its id source.
Use apply_with to apply under a context whose ids continue an earlier
one’s.