(docs: Iterable<Doc.Doc<A>>)
| 520 | |
| 521 | /** @internal */ |
| 522 | export const tupled = <A>(docs: Iterable<Doc.Doc<A>>): Doc.Doc<A> => |
| 523 | group( |
| 524 | encloseSep( |
| 525 | docs, |
| 526 | flatAlt(text("( "), lparen), |
| 527 | flatAlt(text(" )"), rparen), |
| 528 | text(", ") |
| 529 | ) |
| 530 | ) |
| 531 | |
| 532 | // ----------------------------------------------------------------------------- |
| 533 | // Filling |