2 ms·
I'd say partial application solves a different problem than default parameters. Partial application is a convenient way for users of an API to define default be
by kibwen 3y ago
I'd say partial application solves a different problem than default parameters. Partial application is a convenient way for users of an API to define default behavior (but can easily be emulated by lambdas/closures), whereas default arguments allow API designers to define default behavior.