Cache.Slot.complete.if: def of bend-kit-cache@0.3.0.0 Import: import bend-kit-cache@0.3.0.0/cache.bend as Cache Lines 81-86 of bend-kit-cache@0.3.0.0/cache.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-cache@0.3.0.0/cache.bend&start_line=81&end_line=86 import Base def Slot.complete.if(-V: Data, ok: Bool, n: Nat, f: Nat, m: Maybe<&2, Entry>, g: Nat, e: Entry) -> Slot: match ok: case True{}: Slot{n, 1n+g, Some{e}} case False{}: Slot{n, f, m} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=bend-kit-cache@0.3.0.0/cache.bend&name=Slot