def disjoint_with
import mylsm-lsm-store@0.3.2.0/src/SortedRun.bend as SortedRunimport Base
import mylsm-lsm-store@0.3.2.0/src/MemTable.bend as MemTable
156def disjoint_with(+run: List<&2, MemTable.Entry>, runs: List<&2, List<&2, MemTable.Entry>>) -> Bool:
157 match runs:
158 case Nil{}:
159 True{}
160 case Con{+h, t}:
161 bool_and(range_disjoint(run, h), disjoint_with(run, t))