def width.go

bend-kit-tty@0.1.0.1 · text.bend:30

import bend-kit-tty@0.1.0.1/text.bend as Text
import Base

30def width.go(gs: List<&2, String>, +acc: U32) -> U32:
31  match gs:
32    case Nil{}:
33      acc
34    case Con{g, t}:
35      width.go(t, (acc + cluster(g) : U32))

Uses (5)

Used by (1)