Use the fst and snd functions (from Prelude or Data.Tuple) to extract the first and second component of pairs.
fst (1, 2) -- evaluates to 1
snd (1, 2) -- evaluates to 2
Or use pattern matching.
case (1, 2) of (result, _) => result -- evaluates to 1
case (1, 2) of (_, result) => resu...