def run_acc

bend-collections@1.0.0.0 · src/containers/bitset.bend:544

import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitset
import 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))

Uses (6)

Used by (1)