def buf.str.go
import emerging-eztoml@0.9.0.0/main.bend as EmergingEztomlimport Base
310# the buffer is reversed, so each head goes on the front of the text
311def buf.str.go(buf: List<&2, Char>, acc: String) -> String:
312 match buf:
313 case []:
314 acc
315 case +h <> t:
316 buf.str.go(t, SCon{h, acc})