MCPcopy Index your code
hub / github.com/Effect-TS/effect / fillSep

Function fillSep

packages/printer/src/internal/doc.ts:374–375  ·  view source on GitHub ↗
(docs: Iterable<Doc.Doc<A>>)

Source from the content-addressed store, hash-verified

372
373/** @internal */
374export const fillSep = <A>(docs: Iterable<Doc.Doc<A>>): Doc.Doc<A> =>
375 concatWith(docs, (left, right) => catWithSoftLine(left, right))
376
377/** @internal */
378export const seps = <A>(docs: Iterable<Doc.Doc<A>>): Doc.Doc<A> => group(vsep(docs))

Callers 1

reflowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected