def mutations
import mylsm-lsm-store@0.6.0.1/src/transfer/Backup.bend as Backupimport Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWal
190# Converts one bounded page of entries to byte WAL mutations.
191def mutations(entries: List<&1, ByteMemTable.Entry>) -> List<&1, ByteWal.Mutation>:
192 match entries:
193 case Nil{}: Nil{}
194 case Con{entry, tail}: Con{mutation(entry), mutations(tail)}