def seg.chars
import ezx@1.11.0.0/src/toml/toml.bend as Tomlimport 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})