effect-io-ai

Package: @effect/printer
Module: Doc

Doc.Nesting

Represents a document that reacts to the current nesting level.

Signature

export interface Nesting<A> extends Doc.Variance<A> {
  readonly _tag: "Nesting"
  readonly react: (level: number) => Doc<A>
}

Source

Since v1.0.0