unlines package:algebraic-graphs

Concatenate documents after appending a terminating newline symbol to each.
unlines []                    == mempty
unlines [mempty]              == "\n"
unlines ["title", "subtitle"] == "title\nsubtitle\n"