def seg.chars

ezx@1.11.0.0 · src/toml/toml.bend:71

import ezx@1.11.0.0/src/toml/toml.bend as Toml
import Base

71# the chars gathered so far, last read first, spelled in the order they arrived
72def seg.chars(buf: List<&2, Char>, acc: String) -> String:
73  match buf:
74    case []:
75      acc
76    case hd <> tl:
77      seg.chars(tl, SCon{hd, acc})

Uses (3)

Used by (1)