def gapped

bend-lint-rules@0.2.0.0 · layout/format.bend:2234

import bend-lint-rules@0.2.0.0/layout/format.bend as Format
import 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

Uses (5)

Used by (1)