CursorCountPolicy.next.checked: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCountPolicy.bend as CursorCountPolicy Lines 9-13 of mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCountPolicy.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCountPolicy.bend&start_line=9&end_line=13 import Base # Increments a cursor count without wrapping its fixed-width representation. def next.checked(count: U32, maximum: Bool) -> Decision: match maximum: case True{}: CountLimit{} case False{}: CountContinue{U32.from_nat(Nat.add(U32.to_nat(count), 1n))} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.from_nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCountPolicy.bend&name=Decision