Source/Packages

Checkpoint.Envelope

packages/execution/persistence/src/Checkpoint/Envelope.alpha

287 lines55 declarations15.4 KiBSHA-256 14528ee3a079

def · lines 182–190

checkpointEnvelopeIf

Full file
a choice between verdicts on a 0/1 natural
182def checkpointEnvelopeIf =
183  (lambda unrestricted condition : Nat .
184    (lambda unrestricted whenTrue : (family CheckpointEnvelopeVerdict) .
185      (lambda unrestricted whenFalse : (family CheckpointEnvelopeVerdict) .
186        (nat-eliminate
187          (lambda unrestricted current : Nat . (family CheckpointEnvelopeVerdict))
188          whenFalse
189          (lambda unrestricted p : Nat . (lambda unrestricted ignored : (family CheckpointEnvelopeVerdict) . whenTrue))
190          condition))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.