Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

Pretty

4 exports Since v3.10.0 Source

Annotations

Since v3.10.0

Signature

type PrettyAnnotation<A, TypeParameters extends ReadonlyArray<any> = readonly []> = (...pretties: { [K in keyof TypeParameters]: Pretty<TypeParameters[K]> }) => Pretty<A>

Model

Pretty

interface
Since v3.10.0

Signature

interface Pretty<To> {
(a: To): string;
}

Other

Since v3.10.0

Signature

declare const match: AST.Match<Pretty<any>>

Prettify

Since v3.10.0

Signature

declare function make<A, I, R>(schema: Schema<A, I, R>): (a: A) => string