partial
Summary
Allows the partial application of a non-curried function.
Description
Takes a function f
and a list of initial arguments and
returns a new function that takes the remaining arguments and
applies f
to both lists of arguments.
Examples
1 2 3 4 5 6 7 |
|
Parameters
Name | Type | Description |
---|---|---|
f | function |
The partially applied function. |
init | ? |
The initial list of arguments |
Return
function