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

Function vcat

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

Source from the content-addressed store, hash-verified

349
350/** @internal */
351export const vcat = <A>(docs: Iterable<Doc.Doc<A>>): Doc.Doc<A> =>
352 concatWith(docs, (left, right) => catWithLineBreak(left, right))
353
354/** @internal */
355export const hcat = <A>(docs: Iterable<Doc.Doc<A>>): Doc.Doc<A> => concatWith(docs, (left, right) => cat(left, right))

Callers 1

catsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…