def array.items
import ezx@1.11.0.0/src/ws/up.bend as Upimport Base
import ezx@1.11.0.0/src/toml/toml.bend as T
107# texts written as a TOML array of strings
108def array.items(ts: List<&2, String>) -> String:
109 match ts:
110 case []:
111 ""
112 case +hd <> []:
113 T.quote(hd)
114 case +hd <> tl:
115 T.quote(hd) ++ ", " ++ array.items(tl)