In this case, I usually use _flip_ function.

flip :: (a -> b -> c) -> b -> a -> c
flip f x y = f y x

------------------                               
L.Guo
2007-07-04

-------------------------------------------------------------
From: peterv
At: 2007-07-03 17:40:35
Subject: [Haskell-cafe] Haskell's "currying" versus Business Objects 
GemCutter's "burning"

In Haskell, currying can only be done on the last (rightmost) function 
arguments.


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to