Omap.OMap.balance.if: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/omap.bend as Omap Lines 109-119 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=109&end_line=119 import Base def OMap.balance.if( -K: Data, -V: Data, heavy_hi: Bool, heavy_lo: Bool, k: K, v: V, lo: OMap, hi: OMap ) -> OMap: match heavy_hi heavy_lo: case True{} _: OMap.rot_lo(K, V, k, v, lo, hi) case False{} True{}: OMap.rot_hi(K, V, k, v, lo, hi) case False{} False{}: OMap.bin(K, V, k, v, lo, hi) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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.bin https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/omap.bend&name=OMap.rot_hi https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/omap.bend&name=OMap.rot_lo