Resources.split.go: def of bend-kit-resources@0.1.0.0 Import: import bend-kit-resources@0.1.0.0/resources.bend as Resources Lines 73-78 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=73&end_line=78 import Base def split.go(fits: Bool, +o: Nat, +a: Nat, +n: Nat) -> Split: match fits: case True{}: Parts{Grant{o, n}, Grant{o, Nat.sub(a, n)}} case False{}: Whole{Grant{o, a}} 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=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=Split