# curry
Partial application. Returns a closure awaiting the remaining args.
## Syntax
[curry $f $arg1 $arg2 ...]
## Parameters
- `$f` — Callable value or string/keyword name (same resolution rules as `apply`).
- `$arg1`, ... — Arguments to fix.
## Examples
def add {|a b| ($a + $b)} def add5 [curry $add 5] [add5 10] # → 15 — direct callable value def greet [curry str "Hello, "] [greet "World"] # → "Hello, World" — resolved by name def take3 [curry take @{ 1 2 3 4 5}] [take3 3] # → @{ 1 2 3 }
## Returns
A closure. Invoking it calls `$f` with fixed args followed by the new args. `$f` is resolved at call-time, so redefinitions take effect.
## See Also
`apply`, `comp`, `map`, `filter`