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

Function column

packages/printer/src/internal/doc.ts:412–417  ·  view source on GitHub ↗
(react: (position: number) => Doc.Doc<A>)

Source from the content-addressed store, hash-verified

410
411/** @internal */
412export const column = <A>(react: (position: number) => Doc.Doc<A>): Doc.Doc<A> => {
413 const op = Object.create(proto)
414 op._tag = "Column"
415 op.react = react
416 return op
417}
418
419/** @internal */
420export const nesting = <A>(react: (level: number) => Doc.Doc<A>): Doc.Doc<A> => {

Callers 5

doc.tsFile · 0.85
alignFunction · 0.85
flattenSafeFunction · 0.85
alterAnnotationsSafeFunction · 0.85

Calls 1

createMethod · 0.80

Tested by

no test coverage detected