unlines package:basic-prelude

O(n) Joins lines, after appending a terminating newline to each.