def cut
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
138# a line cut at its blanks, read from the back
139def cut(line: String) -> Cut:
140 match line:
141 case SNil{}:
142 Cut{"", []}
143 case SCon{+h, t}:
144 cut.at(blank(h), h, cut(t))