Resources.release.go: def of bend-kit-resources@0.1.0.0 Import: import bend-kit-resources@0.1.0.0/resources.bend as Resources Lines 59-64 of bend-kit-resources@0.1.0.0/resources.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-resources@0.1.0.0/resources.bend&start_line=59&end_line=64 import Base def release.go(ok: Bool, o: Nat, c: Nat, h: Nat, q: Nat, +n: Nat) -> Release: match ok: case True{}: Released{Pool{o, c, Nat.sub(h, n)}} case False{}: Kept{Pool{o, c, h}, Grant{q, n}} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=bend-kit-resources@0.1.0.0/resources.bend&name=Grant https://jend.leeeet.dev/definition.txt?path=bend-kit-resources@0.1.0.0/resources.bend&name=Pool https://jend.leeeet.dev/definition.txt?path=bend-kit-resources@0.1.0.0/resources.bend&name=Release