def hd0
import bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs.bend as Limbsimport Base
14# The first limb (0 for the empty list) and the rest.
15def hd0(xs: List<&2, U32>) -> U32:
16 match xs:
17 case Nil{}: 0
18 case x <> t: x
Uses (2)
Used by (38)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/step:inv
- bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs:carry
- bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs:freeze
- bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs:quot
- bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/limbs:split
- …