ByteWalIo.mutations.count.go: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/ByteWalIo.bend as ByteWalIo Lines 137-146 of mylsm-lsm-store@0.6.0.1/src/ByteWalIo.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteWalIo.bend&start_line=137&end_line=146 import Base import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWal def mutations.count.go( mutations: List<&1, ByteWal.Mutation>, reversed: List<&1, ByteWal.Mutation>, count: Nat ) -> List<&1, ByteWal.Mutation> & Nat: match mutations: case Nil{}: (List.reverse(&1, ByteWal.Mutation, reversed), count) case Con{mutation, tail}: mutations.count.go(tail, Con{mutation, reversed}, Nat.add(count, 1n)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.reverse https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteWal.bend&name=Mutation