I get this function to merge two lists in Haskell:
merge :: [a] -> [a] -> [a]
merge xs [] = xs
merge [] ys = ys
merge (x:xs) (y:ys) = x : y : merge xs ys
but I want this function merge :: ([a],[a]) -> [a], how do I make this change?