Hi
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

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to