6 ms·
Taking multiple arguments has nothing to do with Monads. You can either take in a tuple of arguments f (x,y,z) = x*y + z or take them in curried form
by FreeFull 13y ago
Taking multiple arguments has nothing to do with Monads. You can either take in a tuple of arguments
f (x,y,z) = x*y + z
or take them in curried form
f x y z = x*y + z
where f 3 is a single argument function that returns another function. This ends up being the same as functions having multiple arguments, in practice.