def separators.go
import gralha-text-scan@0.1.0.1/scan.bend as Scanimport Base
112def separators.go(t: String, skip: Bool, +c: U32) -> String:
113 match t skip:
114 case t False{}: SCon{Chr{c}, t}
115 case SNil{} True{}: ""
116 case SCon{Chr{c2}, t2} True{}:
117 +cc = c2
118 separators.go(t2, separator(cc), cc)