TypeIdPrinter

zio.blocks.typeid.TypeIdPrinter
object TypeIdPrinter

Provides idiomatic Scala type rendering for TypeId, TypeRepr, and TypeParam.

This object converts type representations into readable Scala syntax strings, making them suitable for display in error messages, documentation, and debugging output.

Attributes

Source
TypeIdPrinter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def render(typeId: TypeId[_ <: AnyKind]): String

Render a TypeId to idiomatic Scala syntax.

Render a TypeId to idiomatic Scala syntax.

Attributes

Source
TypeIdPrinter.scala
def render(repr: TypeRepr): String

Render a TypeRepr to idiomatic Scala syntax.

Render a TypeRepr to idiomatic Scala syntax.

Attributes

Source
TypeIdPrinter.scala
def render(param: TypeParam): String

Render a TypeParam to idiomatic Scala syntax.

Render a TypeParam to idiomatic Scala syntax.

Attributes

Source
TypeIdPrinter.scala