def run_acc
import bend-collections@1.0.0.0/src/containers/queue.bend as Queueimport Base
import bend-collections@1.0.0.0/src/containers/types/queue.bend as E
87def run_acc(~T: Data, ops: List<&2, E.Op<T>>, st: Queue<T> & List<&2, E.Obs<T>>) -> Queue<T> & List<&2, E.Obs<T>>:
88 match ops:
89 case Nil{}:
90 st
91 case Con{op, rest}:
92 run_acc(~T, rest, step_acc(~T, op, st))