PROOF.bend checks
raw source on the hub · import bend-kube-runtime@0.9.0.0/PROOF.bend as PROOF
3 imports
import Base import ./LAWS.bend as Laws import ./src/queue.bend as Q
Definitions
def Proof.pop_full source · line 64 · raw
@f:List<&2, String> -> @b:List<&2, String> -> @inq:Map<&2, U32> -> @run:Map<&2, U32> -> @d:Map<&2, U32> -> @g:Map<&2, U32> -> @fl:Map<&2, U32> -> @n:U32 -> @mx:U32 -> {0xc144f18a60e8e11038261a7ead2523c1/src/queue.Queue.pop.go(f, b, inq, run, d, g, fl, n, mx, False{}) == (0xc144f18a60e8e11038261a7ead2523c1/src/queue.Queue{f, b, inq, run, d, g, fl, n, mx}, None{}) : Pair(0xc144f18a60e8e11038261a7ead2523c1/src/queue.Queue, Maybe<&2, String>)}With no free slot, pop.go answers None whatever the front holds.
def Proof.forget_busy source · line 86 · raw
@q:0xc144f18a60e8e11038261a7ead2523c1/src/queue.Queue -> @key:String -> {0xc144f18a60e8e11038261a7ead2523c1/src/queue.Queue.forget.go(q, key, True{}) == q : 0xc144f18a60e8e11038261a7ead2523c1/src/queue.Queue}A busy key leaves any queue as it is.