Documentation
first :: (a, b) -> a #
Extract the first component of a pair
>>>
first (1, 2)
1
second :: (a, b) -> b #
Extract the second component of a pair
>>>
second (1, 2)
2
curry :: ((a, b) -> c) -> a -> b -> c #
uncurry :: (a -> b -> c) -> (a, b) -> c #
swap :: (a, b) -> (b, a) #