lines +text

lines :: Text -> [Text]
text Data.Text, text Data.Text.Lazy
O(n) Breaks a Text up into a list of Texts at newline Chars. The resulting strings do not contain newlines.
unlines :: [Text] -> Text
text Data.Text, text Data.Text.Lazy
O(n) Joins lines, after appending a terminating newline to each.