DEV Community

Discussion on: The Currying Introduction I Wish I Had

Collapse
 
josecassano profile image
Jose Cassano

It's very good but I would like to code it like haskell without using multiple () in a func for applying eg: "f()()...()". However, it's better than no currying.

Collapse
 
trivelt profile image
Maciej Michalec

I have similar feelings. In Haskell you can implement multiplyBy3 function in a simpler way: multiplyBy3 = (*3) or multiplyBy3 = (*) 3. That's also on of the reasons why Haskell is a great language to pick up the fundamentals of the functional programming paradigm. ;)