re: Point-free gotchas in JavaScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks for the article Dan! I believe the solution to your first gotcha is "unary" (e.g. ramdajs.com/docs/#unary) - something like: const R = r...
 

Thanks for the comment! The unary function seems neat, I will definitely give Ramda a closer look :)

As for the second gotcha it is simply to illustrate that () => foo() cannot always be replaced by foo as a more "point-free" style. I hope it is clearer now.

code of conduct - report abuse