def record

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

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

79def record(~T: Data, acc: List<&2, E.Obs<T>>, r: Queue<T> & E.Obs<T>) -> Queue<T> & List<&2, E.Obs<T>>:
80  (q, o) = r
81  (q, Con{o, acc})

Uses (5)

Used by (1)