effect-io-ai

Package: @effect/printer
Module: DocTree

DocTree.reAnnotate

Change the annotation of a DocTree.

Signature

declare const reAnnotate: { <A, B>(f: (a: A) => B): (self: DocTree<A>) => DocTree<B>; <A, B>(self: DocTree<A>, f: (a: A) => B): DocTree<B>; }

Source

Since v1.0.0