···128128 # List of input strings129129 list: concatStringsSep sep (lib.imap1 f list);130130131131+ /* Concatenate a list of strings, adding a newline at the end of each one.132132+ Defined as `concatMapStrings (s: s + "\n")`.133133+134134+ Type: concatLines :: [string] -> string135135+136136+ Example:137137+ concatLines [ "foo" "bar" ]138138+ => "foo\nbar\n"139139+ */140140+ concatLines = concatMapStrings (s: s + "\n");141141+131142 /* Construct a Unix-style, colon-separated search path consisting of132143 the given `subDir` appended to each of the given paths.133144