# apply Call a function with explicit arguments. `$fn` may be a direct callable or a string/keyword name resolved through the namespace chain. ## Syntax
[apply $fn $arg1 $arg2 ...]
## Parameters - `$fn` — Callable value (closure, native-func, keyword, map, vector, set) or string/keyword name. - `$arg1`, ... — Arguments passed through. ## Examples
[apply "str" "a" "b" "c"]        # → "abc" — resolves str by name
[apply "upper" "hello"]          # → "HELLO"
[apply :name %{ :name "Alice" }] # → "Alice" — keyword as accessor

def add {|a b| ($a + $b)}
[apply $add 4 5]                 # → 9 — direct callable value
## Returns Whatever `$fn` returns. ## See Also `curry`, `reduce`, `map`, `info/resolve`