Resources.available: def of bend-kit-resources@0.1.0.0 Import: import bend-kit-resources@0.1.0.0/resources.bend as Resources Lines 42-45 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=42&end_line=45 import Base # The units that a reserve can still take. def available(p: Pool) -> Nat: Pool{o, c, h} = p Nat.sub(c, h) Uses (3): 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=Pool