Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
curry_is_easy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
curry_is_easy
3y ago
Since you know JavaScript, this should help. Uncurried: ((x, y) => x * y)(3, 5) === 15 Curried: (x => y => x * y)(3)(5) === 15 If you don't understand that, your problem is that you don't understand anonymous functions (l