Data.Tuple.Linear
Description
This module provides linear functions commonly used on tuples.
fst :: Consumable b => (a, b) %1 -> a Source #
snd :: Consumable a => (a, b) %1 -> b Source #
swap :: (a, b) %1 -> (b, a) Source #
curry :: ((a, b) %p -> c) %q -> a %p -> b %p -> c Source #
uncurry :: (a %p -> b %p -> c) %q -> (a, b) %p -> c Source #