def hd0

bend-collections@1.0.0.0 · src/crypto/poly1305/limbs.bend:14

import bend-collections@1.0.0.0/src/crypto/poly1305/limbs.bend as Limbs
import 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 (6)