3 ms·
If you consider the case of currying and the fact that Haskell functions can be partially applied by just not providing all of the parameters, it becomes clear
by moron4hire 10y ago
If you consider the case of currying and the fact that Haskell functions can be partially applied by just not providing all of the parameters, it becomes clear that only the first version you wrote is correct. It is a single-parameter function with a return type of another single-parameter function.