
3 Dec
2012
3 Dec
'12
12:28 p.m.
Hi list, Is there a syntax in Haskell for partial application that would be something like this the following ? f a b c d = a +b+ c+ d g = f _ 1 2 3 or the only way to do it is like below ? g = (\x -> f x 1 2 3) Also, hlint complains about top-level functions without type even if they are not exported out of the corresponding module. Is is really bad style not put type signatures in all top-level functions ? I really like the fact that haskell takes care of the type signatures for me. best, Miguel http://www.friendlyvirus.org/miguelnegrao/