def foreign.gap
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
230# a line past its `import`, with the spaces, tabs and carriage returns bend's
231# parser skips between the word and the path dropped
232def foreign.gap(line: String) -> String:
233 match line:
234 case SNil{}:
235 SNil{}
236 case SCon{+h, +t}:
237 foreign.gap.at(Bool.or(Char.is_eq(h, ' '), Bool.or(Char.is_eq(h, '\t'),
238 Char.is_eq(h, '\r'))), h, t, _u => foreign.gap(t))