def scale
import bend-collections@1.0.0.0/src/crypto/poly1305/limbs.bend as Limbsimport Base
32# Every limb times c, no carries.
33def scale(+c: U32, a: List<&2, U32>) -> List<&2, U32>:
34 match a:
35 case Nil{}: Nil{}
36 case x <> t: U32.mul(x, c) <> scale(c, t)