def then

yaml-for-bend@0.1.1.0 · scan.bend:116

import yaml-for-bend@0.1.1.0/scan.bend as Scan
import 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}

Uses (2)

Used by (14)