Omap.OMap.get: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/omap.bend as Omap Lines 142-152 of bend-kit-collections@0.1.4.1/omap.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-collections@0.1.4.1/omap.bend&start_line=142&end_line=152 import Base def OMap.get( ~K: Data, ~V: Data, ~cmp: K -> K -> Cmp, m: OMap, +k: K ) -> Maybe<&2, V>: match m: case OTip{}: None{} case OBin{s, +key, +val, +lo, +hi}: Cmp.case(Maybe<&2, V>, cmp(k, key), u => OMap.get(~K, ~V, ~cmp, lo, k), u => Some{val}, u => OMap.get(~K, ~V, ~cmp, hi, k)) Uses (4): 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