def count.show

bolt@1.27.0.0 · src/lsp/frame.bend:212

import bolt@1.27.0.0/src/lsp/frame.bend as Frame
import Base

212# a count's digits, most significant first, in front of acc
213def count.show(ds: List<&2, Digit>, acc: String) -> String:
214  match ds:
215    case Nil{}:
216      acc
217    case Con{d, t}:
218      count.show(t, SCon{Char.from_u32(digit.code(d)), acc})

Uses (5)

Used by (1)