def sp.step
import cswap-bend-cli@0.1.0.0/fmt/yamlr.bend as Yamlrimport Base
154def sp.step(+n: Nat, +map: Bool, +sp: Sp, +l: Ln) -> Sp:
155 match l:
156 case Ln{i, t}:
157 sp.step2(Nat.is_eq(i, n) && Bool.not(map && sp.hold(sp) && is_dash(t)), sp, Ln{i, t}, t)