3 ms·
Well in Haskell it all makes sense, since you have other powerful tools (function composition and application, very large standard library of small functions, e
by emerongi 9y ago
Well in Haskell it all makes sense, since you have other powerful tools (function composition and application, very large standard library of small functions, etc) that all compose into readable and nice code.
If you just use currying randomly, it's going to create more headaches than solve. Ultimately you'd need to adopt something like Ramda in your project if you want to do this in your JS codebase, but even then I think Ramda-dependent code is way less readable than Haskell.