BlockRoutePolicy.midpoint.copies: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend as BlockRoutePolicy Lines 15-18 of mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/BlockRoutePolicy.bend&start_line=15&end_line=18 import Base def midpoint.copies(lows: Nat & Nat, high: Nat) -> Nat: match lows: case (offset, subtractor): Nat.add(offset, Nat.div(Nat.sub(high, subtractor), 2n)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma