ProofSums.smap: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/proof_sums.bend as ProofSums Lines 10-16 of minebender-game@1.0.0.0/proof_sums.bend: https://jend.leeeet.dev/read.txt?path=minebender-game@1.0.0.0/proof_sums.bend&start_line=10&end_line=16 import Base # Each element plus one. def smap(xs: List<&2, Nat>) -> List<&2, Nat>: match xs: case Nil{}: Nil{} case x <> t: (1n+x) <> smap(t) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat