|
|
|
|
|
by tome
3119 days ago
|
|
Let's elaborate on "curried" since that was what OP was interested in. How are functions in Haskell "curried" by default? Sure, you can write f x y = 2 * x + y
and that will define a function that takes an Int, say, returns a function. But why is that any more "default" than g (x, y) = 2 * x + y
?
|
|