3 ms·
> So the article isn't currying either. It's a hybrid between currying and partial application. Sure. > TBH I can't think of a practical case where you'd pref
by masklinn 5y ago
> So the article isn't currying either. It's a hybrid between currying and partial application.
Sure.
> TBH I can't think of a practical case where you'd prefer currying over partial application. Theory/philosophy aside.
For eager-evaluation uncurried language (like javascript) I would also struggle to think of one.
For curried languages, it can sometimes be useful to uncurry functions in order to make types match, after which you might have to curry them back into the "normal" form to use them.