def blen
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow.bend as Powimport Base
57def blen(bs: List<&2, Bool>) -> Nat:
58 match bs:
59 case Nil{}:
60 0n
61 case Con{b, bt}:
62 1n+blen(bt)
Uses (3)
Used by (9)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow:eb
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/pcodec:r_sqm1
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow:chain_val
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow:inv_val
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/pow:p58_val
- …