concatLines
lib.concatLines
Docs pulled from | This Revision | 4 days ago
Concatenate a list of strings, adding a newline at the end of each one.
Defined as concatMapStrings (s: s + "\n").
Inputs
list- List of strings. Any element that is not a string will be implicitly converted to a string.
Type
concatLines :: [string] -> string
Examples
lib.strings.concatLines usage example
concatLines [ "foo" "bar" ]
=> "foo\nbar\n"