FP in JS. How can we implement Curry and Compose, with bind and reduce | Dark Hacker News