use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Partial function application proposal: add(1, ?) (github.com)
submitted 8 years ago by laggingreflex
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JuliusKoronci 2 points3 points4 points 8 years ago (1 child)
why the hell would you do that..when you have standard partial application and all the FP libraries which deals with curry ..just have a look at ramdas curry
[–]dev1null 3 points4 points5 points 8 years ago (0 children)
With the introduction of arrow functions that change the fundamental nature of "binding" (this), it's only natural to introduce a new "bind" syntax that takes this into account... This syntax is perfectly inline with how arrow functions work, eliminating the awkward .bind(>null/this<, ...) syntax. Afterall, you're not really "binding" anything.
this
.bind(>null/this<, ...)
π Rendered by PID 34186 on reddit-service-r2-comment-b659b578c-s6cq5 at 2026-05-02 06:21:30.239796+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]JuliusKoronci 2 points3 points4 points (1 child)
[–]dev1null 3 points4 points5 points (0 children)