def split
import bend-kit-scheduler@0.4.1.0/queue_proof.bend as QueueProofimport Base
8def split(-P: Bool -> Type, b: Bool, yes: {b == True{} : Bool} -> P(True{}), no: {b == False{} : Bool} -> P(False{})) -> P(b):
9 match b:
10 case True{}:
11 yes({==})
12 case False{}:
13 no({==})