def trim.front
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
83# a line with its leading blanks dropped
84def trim.front(line: String) -> String:
85 match line:
86 case SNil{}:
87 SNil{}
88 case SCon{+h, +t}:
89 trim.front.at(blank(h), h, t, _u => trim.front(t))