def bloom_set_all
import mylsm-lsm-store@0.6.0.1/src/Sstable.bend as Sstableimport Base
329# Sequential assembly of one filter from a flat index list.
330def bloom_set_all(+idxs: List<&2, Nat>, +blm: Bloom) -> Bloom:
331 match idxs:
332 case Nil{}:
333 blm
334 case Con{+i, t}:
335 match blm:
336 case Blm{bits, +size}:
337 bloom_set_all(t, Blm{bit_set(i, bits), size})