def ordered.singleton_runs
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTableimport Base
658def ordered.singleton_runs(entries: List<&1, Entry>) -> List<&1, List<&1, Entry>>:
659 match entries:
660 case Nil{}: Nil{}
661 case Con{entry, rest}:
662 Con{Con{entry, Nil{}}, ordered.singleton_runs(rest)}