Limbs.nonzero: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/limbs.bend as Limbs Lines 190-194 of bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/limbs.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/limbs.bend&start_line=190&end_line=194 import Base # OR of all limbs being nonzero, without an early exit def nonzero(xs: List<&2, Nat>, acc: Nat) -> Nat: match xs: case Nil{}: acc case x <> t: nonzero(t, Nat.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=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add