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

Function prettySignature

packages/printer/test/doc.test.ts:435–436  ·  view source on GitHub ↗
([name, type]: Signature)

Source from the content-addressed store, hash-verified

433 ]
434
435 const prettySignature = <A>([name, type]: Signature): Doc.Doc<A> =>
436 Doc.hsep([Doc.fill(Doc.text(name), 5), Doc.text("::"), Doc.text(type)])
437
438 const doc = Doc.hsep([
439 Doc.text("let"),

Callers

nothing calls this directly

Calls 1

textMethod · 0.45

Tested by

no test coverage detected