>>51
That's why there's flip (flip f x y = f y x
). Speaking of which, see what a nice definition that is? And flip foo
does exactly what you expect.
If you have a function with four parameters and you want to fill in the third one, you could resort to a lambda, or write your own combinator like flip, but I don't see why that comes up enough to be a big deal. It's an issue of design: you put the most general parameters first.