Limbs.conv: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/secp256k1/limbs.bend as Limbs Lines 72-76 of bend-collections@1.0.0.0/src/crypto/secp256k1/limbs.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/limbs.bend&start_line=72&end_line=76 import Base # the schoolbook product without carries: conv(x :: xs, ys) = x ys + 2^16 conv(xs, ys) def conv(xs: List<&2, Nat>, +ys: List<&2, Nat>) -> List<&2, Nat>: match xs: case Nil{}: Nil{} case x <> xt: add(scal(x, ys), 0n <> conv(xt, ys)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/limbs.bend&name=add https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/limbs.bend&name=scal