Generic.vals: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/math/generic.bend as Generic Lines 105-110 of bend-collections-laws-crypto@1.0.0.0/spec/math/generic.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/math/generic.bend&start_line=105&end_line=110 import Base def vals(~T: Data, ~val: T -> Nat, xs: List<&2, T>) -> List<&2, Nat>: match xs: case Nil{}: Nil{} case Con{x, t}: Con{val(x), vals(~T, ~val, 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