list package:formatting

Add square brackets around the Foldable (e.g. a list), and separate each formatted item with a comma and space.
>>> format (list stext) ["one", "two", "three"]
"[one, two, three]"
>>> format (list shown) ["one", "two", "three"]
"[\"one\", \"two\", \"three\"]"
Like list, but also put double quotes around each rendered item:
>>> fprintLn (qlist stext) ["one", "two", "three"]
["one", "two", "three"]