def step_acc

bend-collections@1.0.0.0 · src/containers/queue.bend:83

import bend-collections@1.0.0.0/src/containers/queue.bend as Queue
import Base
import bend-collections@1.0.0.0/src/containers/types/queue.bend as E

83def step_acc(~T: Data, op: E.Op<T>, st: Queue<T> & List<&2, E.Obs<T>>) -> Queue<T> & List<&2, E.Obs<T>>:
84  (q, acc) = st
85  record(~T, acc, step(~T, q, op))

Uses (8)

Used by (1)