def join
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
2294def join(rows: List<&2, String>, +newline: String, acc: String) -> String:
2295 match rows:
2296 case Nil{}:
2297 acc
2298 case Con{row, rest}:
2299 join(rest, newline, row ++ newline ++ acc)