def levels_hits
import mylsm-lsm-store@0.3.2.0/src/Db.bend as Dbimport Base
import mylsm-lsm-store@0.3.2.0/src/Sstable.bend as Sstable
116def levels_hits(+lvls: List<&2, List<&2, Sstable.Table>>, +key: String) -> List<&2, Maybe<&2, Maybe<&2, String>>>:
117 match lvls:
118 case Nil{}:
119 Nil{}
120 case Con{h, t}:
121 List.append(&2, Maybe<&2, Maybe<&2, String>>, tables_hits(h, key), levels_hits(t, key))