def gapped
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
2234def gapped(gap: Bool, rows: List<&2, String>) -> List<&2, String>:
2235 match gap rows:
2236 case True{} Con{+row, +rest}:
2237 Bool.pick(List<&2, String>, String.is_empty(row), Con{row, rest}, Con{"", Con{row, rest}})
2238 case _ rows2:
2239 rows2