unlines package:streaming-bytestring

The unlines function restores line breaks between layers. Note that this is not a perfect inverse of lines:
  • lines . unlines can produce more strings than there were if some of the "lines" had embedded newlines.
  • unlines . lines will replace \r\n with \n.