def wones
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/final.bend as Finalimport Base
26def wones(n: Nat) -> Word(n):
27 match n:
28 case 0n: WNil{}
29 case 1n+p: WCon{True{}, wones(p)}
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/poly1305/final.bend as Finalimport Base
26def wones(n: Nat) -> Word(n):
27 match n:
28 case 0n: WNil{}
29 case 1n+p: WCon{True{}, wones(p)}