Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thrttnkrnl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
thrttnkrnl
5y ago
Your implementation is broken for any function that has more than two arguments. const sum3 = curry(( a, b, c ) => a + b + c ) const sum3_10 = sum3( 10 ) // ... const sum3_10_20 = sum3_10( 20 ) // ... su