Revert "lib/strings.concatLines: call concatStringsSep directly"

This reverts commit d7e6988c9b.
This commit is contained in:
Johannes Kirschbauer
2026-04-28 10:04:39 +02:00
parent d5a81777ea
commit 66f4e5d988
+2 -1
View File
@@ -337,6 +337,7 @@ rec {
/**
Concatenate a list of strings, adding a newline at the end of each one.
Defined as `concatMapStrings (s: s + "\n")`.
# Inputs
@@ -360,7 +361,7 @@ rec {
:::
*/
concatLines = str: concatStringsSep "\n" str + "\n";
concatLines = concatMapStrings (s: s + "\n");
/**
Given string `s`, replace every occurrence of the string `from` with the string `to`.