def commands

bend-kit-redis@0.3.0.0 · redis.bend:830

import bend-kit-redis@0.3.0.0/redis.bend as Redis
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

830def commands(cmds: List<&1, List<&1, Bytes.Bytes>>, o: Bytes.Bytes, +n: Nat) -> Bytes.Bytes & Nat:
831  match cmds:
832    case Nil{}:
833      (o, n)
834    case Con{h, t}:
835      commands(t, Bytes.append(o, encode.command(h)), (1n + n : Nat))

Uses (8)

Used by (1)