concat :: [[a]] -> [a] concat = foldr (++) []
xs ++ (ys ++ (zs ++ []))
New to topics? Read the docs here!