arrow-core-data / arrow.typeclasses / Show


interface Show<in A>

A type class used to get a textual representation for an instance of type A in a type safe way.


show Given an object this@show of type A it returns its textual representation.abstract fun String

Companion Object Functions

any Retrieve a Show that defines the textual representation as toString() for type any(): Show<Any?>
fromToString Construct a Show instance using object <A> fromToString(): Show<A>
invoke Construct a Show instance from a function A.() -> Stringoperator fun <A> invoke(fshow: A.() -> String): Show<A>

Type Class Hierarchy

Do you like Arrow?

Arrow Org