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

Function compact

packages/printer/src/internal/layout.ts:161–161  ·  view source on GitHub ↗
(self: Doc.Doc<A>)

Source from the content-addressed store, hash-verified

159
160/** @internal */
161export const compact = <A>(self: Doc.Doc<A>): DocStream.DocStream<A> => Effect.runSync(compactSafe(List.of(self), 0))
162
163const compactSafe = <A>(
164 docs: List.List<Doc.Doc<A>>,

Callers

nothing calls this directly

Calls 2

compactSafeFunction · 0.85
ofMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…