Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tel
on July 19, 2015
|
parent
|
context
|
favorite
| on:
Currying in JavaScript
Currying on the fly always feels a little silly to me. What's natural is just defining functions in curried form from the get-go.
function reduce(nil, cons) { return (ary) => { ... } }
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: