def run_acc
import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitsetimport Base
import bend-collections@1.0.0.0/src/containers/types/bitset.bend as E
544def run_acc(ops: List<&2, E.Op>, st: Bitset & List<&2, E.Obs>) -> Bitset & List<&2, E.Obs>:
545 match ops:
546 case Nil{}:
547 st
548 case Con{op, rest}:
549 run_acc(rest, step_acc(op, st))