def list.len

bend-toon-codec@0.1.0.0 · src/step.bend:30

import bend-toon-codec@0.1.0.0/src/step.bend as Step
import Base

30def list.len(+ks: List<&2, String>) -> U32:
31  match ks:
32    case Nil{}:
33      0
34    case Con{k, t}:
35      (1 + list.len(t) : U32)

Uses (4)

Used by (1)