Haskell confusion (81)

53 Name: #!/usr/bin/anonymous : 2006-04-01 16:19 ID:jLQEuxPf

>>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.

This thread has been closed. You cannot post in this thread any longer.