[Haskell-cafe] Partial application

phiroc at free.fr phiroc at free.fr
Thu Jan 18 04:26:25 EST 2007


Hello,

could someone please give me an example of the "partial application" of the
following curried function:

add' :: Int -> Int -> Int
add' a b = a + b

Normally, add' 1 should work, but it doesn't.

Many thanks.

phiroc


More information about the Haskell-Cafe mailing list