PROOF.h.get_leaf: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/PROOF.bend as PROOF Lines 2791-2800 of bend-kit-collections@0.1.4.1/PROOF.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-collections@0.1.4.1/PROOF.bend&start_line=2791&end_line=2800 import Base import bend-kit-collections@0.1.4.1/hmap.bend as M def h.get_leaf( ~K: Data, ~V: Data, ~eq: K -> K -> Bool, +n: Nat, +mask: U32, +o: U32, xs: List<&2, M.Entry>, +hk: U32, +k: K ) -> {h.G(~K, ~V, ~eq, n, mask, M.HLeaf{o, xs}, hk, k) == h.G(~K, ~V, ~eq, n, mask, M.HMap.leaf(K, V, o, xs), hk, k) : Maybe<&2, V>}: match xs: case Nil{}: h.g_nil_leaf(~K, ~V, ~eq, n, mask, o, hk, k) case Con{e, rest}: {==} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/PROOF.bend&name=h.G https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/PROOF.bend&name=h.g_nil_leaf https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/hmap.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/hmap.bend&name=HMap https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/hmap.bend&name=HMap.leaf