[Haskell-cafe] Curry and uncurry

PR Stanley prstanley at ntlworld.com
Wed Oct 3 07:55:27 EDT 2007

The following is from the Hutton book:

	Without looking at the standard prelude, define the
	higher-order library function curry that converts a function
	on pairs into a curried
	function, and conversely, the function uncurry
	that converts a curried
	function with two arguments into a function on pairs.
	Hint: first write down the types of the two functions.

I didn't even know about the curry and uncurry functions. I'm not 
looking for the answer but some guidance would be much appreciated.
Thanks, Paul

More information about the Haskell-Cafe mailing list