def w8s.len.go
import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytesimport Base
498def w8s.len.go(ws: List<&2, OctByte>, n: Nat) -> Nat:
499 match ws:
500 case Nil{}:
501 n
502 case Con{h, t}:
503 w8s.len.go(t, 1n+n)
import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytesimport Base
498def w8s.len.go(ws: List<&2, OctByte>, n: Nat) -> Nat:
499 match ws:
500 case Nil{}:
501 n
502 case Con{h, t}:
503 w8s.len.go(t, 1n+n)