~/bend-docscommunity

PROOF.bend checks

raw source on the hub · import bend-kube-runtime@0.5.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 -> {0x78af190a257c10ade2cc0d23aaa597ca/src/queue.Queue.pop.go(f, b, inq, run, d, g, fl, n, mx, False{}) == (0x78af190a257c10ade2cc0d23aaa597ca/src/queue.Queue{f, b, inq, run, d, g, fl, n, mx}, None{}) : Pair(0x78af190a257c10ade2cc0d23aaa597ca/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:0x78af190a257c10ade2cc0d23aaa597ca/src/queue.Queue -> @key:String -> {0x78af190a257c10ade2cc0d23aaa597ca/src/queue.Queue.forget.go(q, key, True{}) == q : 0x78af190a257c10ade2cc0d23aaa597ca/src/queue.Queue}

A busy key leaves any queue as it is.