3 ms·
No, it’s partial application. Currying is when a 1-arity function either returns another 1-arity function or the result.
by vore 3y ago
No, it’s partial application. Currying is when a 1-arity function either returns another 1-arity function or the result.
- dekhn 3y agohmm... that just sounds like a specific case of recursive application of partial functions? At least that's how I interepret the wikipedia explanation: "As such, curry is more suitably defined as an operation which, in many theoretical cases, is often applied recursively, but which is theoretically indistinguishable (when considered as an operation) from a partial application." (while I see partial as having value, I'm struggling to see if currying would really be a useful addition to a scripting language)