ScanMerge.both.live: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/ScanMerge.bend as ScanMerge Lines 22-34 of mylsm-lsm-store@0.6.0.1/src/scan/ScanMerge.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ScanMerge.bend&start_line=22&end_line=34 import Base # Applies ordering and tombstone precedence when both sources have a head. def both.live(live: Bool, order: Cmp) -> Decision: match live: case True{}: match order: case LT{}: EmitDelta{} case EQ{}: EmitBoth{} case GT{}: EmitBase{} case False{}: match order: case LT{}: SkipDelta{} case EQ{}: SkipBoth{} case GT{}: EmitBase{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ScanMerge.bend&name=Decision