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

Function concat

packages/printer/src/internal/docTree.ts:170–175  ·  view source on GitHub ↗
(trees: ReadonlyArray<DocTree.DocTree<A>>)

Source from the content-addressed store, hash-verified

168
169/** @internal */
170export const concat = <A>(trees: ReadonlyArray<DocTree.DocTree<A>>): DocTree.DocTree<A> => {
171 const op = Object.create(proto)
172 op._tag = "ConcatTree"
173 op.trees = trees
174 return op
175}
176
177// -----------------------------------------------------------------------------
178// Annotations

Callers 5

mergeTreesFunction · 0.70
getSemigroupFunction · 0.70
getMonoidFunction · 0.70
simplifyFunction · 0.50
httpRouter.tsFile · 0.50

Calls 1

createMethod · 0.80

Tested by

no test coverage detected