Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ align
Function
align
packages/printer/src/internal/doc.ts:459–460 ·
view source on GitHub ↗
(self: Doc.Doc<A>)
Source
from the content-addressed store, hash-verified
457
458
/** @internal */
459
export
const
align = <A>(self: Doc.Doc<A>): Doc.Doc<A> =>
460
column((position) => nesting((level) => nest(self, position - level)))
461
462
/** @internal */
463
export
const
hang = dual<
Callers
1
doc.ts
File · 0.85
Calls
2
column
Function · 0.85
nesting
Function · 0.85
Tested by
no test coverage detected