def to_string.go
import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytesimport Base
313def to_string.go(rs: List<&2, U32>, acc: String) -> String:
314 match rs:
315 case Nil{}:
316 acc
317 case Con{h, t}:
318 to_string.go(t, SCon{Chr{byte(h)}, acc})