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

Function annotate

packages/printer/test/doc.test.ts:557–558  ·  view source on GitHub ↗
(self: Doc.Doc<A>)

Source from the content-addressed store, hash-verified

555 describe.concurrent("reactive/conditional combinators", () => {
556 it("width", () => {
557 const annotate = <A>(self: Doc.Doc<A>): Doc.Doc<A> =>
558 Doc.width(Doc.squareBracketed(self), (w) => Doc.text(` <- width: ${w}`))
559
560 const docs = [
561 Doc.text("---"),

Callers 3

flattenSafeFunction · 0.50
alterAnnotationsSafeFunction · 0.50

Calls 1

textMethod · 0.45

Tested by

no test coverage detected