uncurry package:classy-prelude

uncurry converts a curried function to a function on pairs.

Examples

>>> uncurry (+) (1,2)
3
>>> uncurry ($) (show, 1)
"1"
>>> map (uncurry max) [(1,2), (3,4), (6,8)]
[2,4,8]