def drop_empty
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
2287def drop_empty(rows: List<&2, String>, go: Bool) -> List<&2, String>:
2288 match rows go:
2289 case Con{row, +rest} True{}:
2290 drop_empty(rest, is_head_empty(rest))
2291 case rest _:
2292 rest