def fit
import bend-collections@1.0.0.0/src/crypto/poly1305/limbs.bend as Limbsimport Base
56# The first n limbs, padded with zeros to exactly n.
57def fit(n: Nat, +xs: List<&2, U32>) -> List<&2, U32>:
58 match n:
59 case 0n: Nil{}
60 case 1n+k: hd0(xs) <> fit(k, tl(xs))