def peek

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

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

45def peek(~T: Data, q: Queue<T>) -> Queue<T> & Result<&2, &2, E.Error, T>:
46  peek_ready(~T, ready(~T, q))

Uses (6)

Used by (2)