unlines

unlines :: [String] -> String
base Prelude, base Data.List, base Data.String
unlines is an inverse operation to lines. It joins lines, after appending a terminating newline to each.
unlines :: [ByteString] -> ByteString
bytestring Data.ByteString.Char8, bytestring Data.ByteString.Lazy.Char8
unlines is an inverse operation to lines. It joins lines, after appending a terminating newline to each.
unlines :: [Text] -> Text
text Data.Text, text Data.Text.Lazy
O(n) Joins lines, after appending a terminating newline to each.