def b64count
import bendonnect-rpc@0.1.0.0/src/protocol.bend as Protocolimport Base
484def b64count(xs: List<&2, U32>, +acc: U32) -> U32:
485 match xs:
486 case Nil{}:
487 acc
488 case Con{h, t}:
489 b64count(t, (acc + 1 : U32))
import bendonnect-rpc@0.1.0.0/src/protocol.bend as Protocolimport Base
484def b64count(xs: List<&2, U32>, +acc: U32) -> U32:
485 match xs:
486 case Nil{}:
487 acc
488 case Con{h, t}:
489 b64count(t, (acc + 1 : U32))