“Admittedly, I have yet to find a super compelling use-case for currying in my day-to-day work.” https://medium.com/@kevincennis/currying-in-javascript-c66080543528?source=tw-lo_dnt_a7d8d74a8f03-1437404825968 …
@twopoint718 I'd really love to see some examples. I was bummed the OP didn't include any.
-
-
@southpolesteve it's handy for specializing generic fns: sum = reduce (+) 0 -
@southpolesteve now, "sum" is a function expecting a list of integers -
@twopoint718 eh thats a pretty simple example. I use partial application a lot for specializing functions. Especially in promise chains.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.