static S textOut_or_curly(L l) { ret textOut_or_curly(l, "nothing"); } static S textOut_or_curly(L l, S emptyText) { if (empty(l)) ret emptyText; L separators = rep(", ", l(l)-2); separators.add(" or "); ret join_flex(separators, map curlyOpt(l)); }