4 ms·
Partial application and curried functions are subtly different. Consider a "+" operator that does currying: ((+ 5) 10) If the plus operator is not curryi
by brandonbloom 13y ago
Partial application and curried functions are subtly different.
Consider a "+" operator that does currying:
((+ 5) 10)
If the plus operator is not currying, that's either an arity or type error. You're either not supplying enough arguments to +, or you're trying to do this:
(5 10)
Partial application can be explicit, without currying:
((partial + 5) 10)