PROOF.getc: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/PROOF.bend as PROOF Lines 575-583 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=575&end_line=583 import Base import bend-kit-collections@0.1.4.1/omap.bend as O # get on one node, with the comparison result as a parameter. def getc( ~K: Data, ~V: Data, ~cmp: K -> K -> Cmp, c: Cmp, +x: K, +val: V, lo: O.OMap, hi: O.OMap ) -> Maybe<&2, V>: O.Cmp.case(Maybe<&2, V>, c, u => O.OMap.get(~K, ~V, ~cmp, lo, x), u => Some{val}, u => O.OMap.get(~K, ~V, ~cmp, hi, x)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/omap.bend&name=Cmp.case https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/omap.bend&name=OMap https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/omap.bend&name=OMap.get