4 ms·
You pass a partially applied function. So, example of php: $f = fn($x) => f($x, …$deps); Then I can pass $f to whatever function with its dependencies satisfi
by withinboredom 4y ago
You pass a partially applied function. So, example of php:
$f = fn($x) => f($x, …$deps);
Then I can pass $f to whatever function with its dependencies satisfied.
Edit: fixed example