All Questions
2 questions
12
votes
2
answers
5k
views
A real-life example of using curry function? [closed]
I was struggled to find a real-life example of using curry function and get the benefit of using curry.
When I google curry function I often see the example like
let add = x => y => x + y;
let ...
2
votes
1
answer
2k
views
The difference between bind and _.curry
So JavaScript's bind supports currying, but most people use some other library like lodash or ramda to do currying.
From first impression It seems like bind supports context changing, since that is ...