ByteBlockBuilder.decide.sized.limits: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend as ByteBlockBuilder Lines 28-40 of mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend&start_line=28&end_line=40 import Base def decide.sized.limits( +used_bytes: Nat, +record_bytes: Nat, limits: Nat & Nat, record_fits: Bool ) -> Decision: match limits: case (current_cap, comparison_cap): match record_fits: case False{}: RecordTooLarge{} case True{}: decide.current(used_bytes, record_bytes, Nat.is_le(Nat.add(used_bytes, record_bytes), comparison_cap)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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.is_le https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend&name=decide.current