MCPcopy
hub / github.com/Effect-TS/effect / line

Function line

packages/printer/src/internal/docTree.ts:150–155  ·  view source on GitHub ↗
(indentation: number)

Source from the content-addressed store, hash-verified

148
149/** @internal */
150export const line = <A>(indentation: number): DocTree.DocTree<A> => {
151 const op = Object.create(proto)
152 op._tag = "LineTree"
153 op.indentation = indentation
154 return op
155}
156
157/** @internal */
158export const annotation = dual<

Callers 5

alterAnnotationsSafeFunction · 0.70
treeFunction · 0.70
alterAnnotationSafeFunction · 0.70
reAnnotateSafeFunction · 0.70
unAnnotateSafeFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected