Field.sum_all: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/crypto/curve25519/field.bend as Field Lines 291-297 of bend-collections-laws-crypto@1.0.0.0/src/crypto/curve25519/field.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/curve25519/field.bend&start_line=291&end_line=297 import Base # the sum of the limbs (below 2^13 for 32 bytes); no early exit def sum_all(xs: List<&2, U32>, acc: U32) -> U32: match xs: case Nil{}: acc case Con{x, xt}: sum_all(xt, U32.add(acc, x)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add