def then
import yaml-for-bend@0.1.1.0/scan.bend as Scanimport Base
116# The step after +v+, when it goes on.
117def then(v: Step, f: Sc -> Step) -> Step:
118 match v:
119 case Go{st}:
120 f(st)
121 case Stop{st}:
122 Stop{st}
import yaml-for-bend@0.1.1.0/scan.bend as Scanimport Base
116# The step after +v+, when it goes on.
117def then(v: Step, f: Sc -> Step) -> Step:
118 match v:
119 case Go{st}:
120 f(st)
121 case Stop{st}:
122 Stop{st}