effect-io-ai

Package: @effect/printer
Module: Doc

Doc.cat

The cat combinator lays out two documents separated by nothing.

Signature

declare const cat: { <B>(that: Doc<B>): <A>(self: Doc<A>) => Doc<B | A>; <A, B>(self: Doc<A>, that: Doc<B>): Doc<A | B>; }

Source

Since v1.0.0