uncurry -package:base-compat-batteries -package:fixed-length -package:singletons

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]
Caution: See unzip.
Convert a curried function to a function on strict pairs.
uncurry converts a curried function to a function on pairs.
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]
Converts a curried function to a function on a triple.
Caution: See unzip.
Uncurries a function expecting three r, g, b parameters.
mothers little helpers for to much curry
uncurry with no lazy pattern matching for more efficient code.