def step.on
import bolt@1.27.0.0/src/syntax/word.bend as Wordimport Base
46# a name char joins the run; any other char ends it
47def step.on(name: Bool, cc: Char, +ii: U32, +start: U32, run: List<&2, Char>, hit: Maybe<&2, String>, +col: U32) -> W:
48 match name:
49 case True{}:
50 W{(ii + 1 : U32), start, cc <> run, hit}
51 case False{}:
52 W{(ii + 1 : U32), (ii + 1 : U32), [], close(ii, start, run, hit, col)}